Skip to content

fix(report): recognise any test_ module, not just three families - #35

Merged
BitHighlander merged 1 commit into
masterfrom
fix/715-report-module-prefix
Aug 21, 2026
Merged

fix(report): recognise any test_ module, not just three families#35
BitHighlander merged 1 commit into
masterfrom
fix/715-report-module-prefix

Conversation

@BitHighlander

Copy link
Copy Markdown
Owner

parse_junit() extracted the module from a JUnit classname only when a dotted part started with test_msg_, test_sign_ or test_verify_. Anything else produced no mod::meth key at all, and _lookup() has no bare-method fallback (deliberately — a method-name collision once rendered a never-run test as PASS).

So a catalogued test in a module outside those three families is invisible to the report: results parsed, then silently dropped, and the section renders "Pending (no firmware support yet)".

That is exactly what happened to the new Storage Upgrade Preservation section: all eight tests in test_storage_version_gate.py were passing while the report showed the feature as unsupported. A section that says "pending" when the tests are green is worse than no section — it reads as a deliberate gap.

Widened to any part starting with test_. Native gtest suites unaffected (bare classname, no dot, already keyed Suite::Test).

Report on identical inputs: 18 pending → 0 pending.

…_/test_verify_

parse_junit() extracted the module from a JUnit classname only when a dotted
part started with test_msg_, test_sign_ or test_verify_. Anything else produced
no 'mod::meth' key at all, and _lookup() has no bare-method fallback (deliberately
-- a method-name collision once rendered a never-run test as PASS).

So a catalogued test in a module outside those three families is INVISIBLE to
the report: its results are parsed, then silently dropped, and the section
renders "Pending (no firmware support yet)".

That is exactly what happened to the new Storage Upgrade Preservation section:
all eight tests in test_storage_version_gate.py were passing while the report
showed the feature as unsupported. A section that says "pending" when the tests
are green is worse than no section, because it reads as a deliberate gap.

Widened to any part starting with test_. Native gtest suites are unaffected --
they carry a bare classname with no dot and were already keyed as Suite::Test.

Report on the same inputs: 18 pending -> 0 pending.
@BitHighlander
BitHighlander merged commit d5560b5 into master Aug 21, 2026
2 of 3 checks passed
@BitHighlander
BitHighlander deleted the fix/715-report-module-prefix branch August 21, 2026 06:41
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