Skip to content

docs(test-infrastructure): file the test-file subjects spx does not admit as Evidence - #765

Open
simonheimlicher wants to merge 1 commit into
mainfrom
work/issues-test-file-subjects
Open

simonheimlicher wants to merge 1 commit into
mainfrom
work/issues-test-file-subjects

Conversation

@simonheimlicher

@simonheimlicher simonheimlicher commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Files one known fact in spx/13-infrastructure.enabler/21-test-infrastructure.enabler/ISSUES.md: most of the Product's test files carry a subject that spx does not admit as Evidence.

  • spx main (9d362690e) admits a test file only when its subject is a kebab-case slug. isTestFileName requires isEvidenceCore, which requires every --separated word to match ^[a-z][a-z0-9]*$.
  • At f83f39569, 227 of the 277 tracked spx/**/tests/test_*.py files carry an underscored multi-word subject. They sit in 62 of the 72 Nodes that hold tests, and in 59 of those Nodes every test file does.
  • pyproject.toml runs pytest with --import-mode=importlib, so a kebab-case subject stays collectable.
  • Impact: a Node whose required test results lie in those files cannot read Passing.
  • Settlement condition: every tracked test file carries a kebab-case subject.

The naming form itself comes from the root decision spx/15-test-language.adr.md, which a Node's ISSUES.md cannot hold. This Node governs how the Product's test files are discovered and run, so the fact is filed here.

Checks: spx validation markdown reports no problems, and dprint check passes on the file.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…dmit as Evidence

227 of 277 tracked spx/**/tests/test_*.py files at f83f395 carry an underscored subject that spx main's isTestFileName rejects.
@sonarqubecloud

Copy link
Copy Markdown

@claude

claude Bot commented Nov 16, 2026

Copy link
Copy Markdown

No findings. The added ISSUES.md entry is a documentation-only change. I re-derived its counts from the working tree: 277 tracked spx/**/tests/test_*.py files, of which 227 have an underscored subject. Both cited example files exist in this Node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant