Skip to content

Added FaultListResult - #166

Merged
mmaehren merged 3 commits into
mainfrom
feat/faultListResult
Sep 15, 2026
Merged

mmaehren merged 3 commits into
mainfrom
feat/faultListResult

Conversation

@mmaehren

Copy link
Copy Markdown
Contributor

For some scan properties, we can attribute an issue to a specific subset of features. For further debugging and fixing, it may be nice to print the exact features for the user. However, so far this required a summarizing property documenting if an issue was found (TestResult.TRUE / . FALSE) and a separate ListResult holding the NamedGroup. The new FaultListResult bundles this into one object and re-uses the SummarizableResult interface to determine the final result.

Note that this PR also fixes the comparison of actual results and expected results so we can use SummarizableResults in the scanner's rating influencers. So this PR also adds tests for this.

@XoMEX XoMEX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only dislike the ResultMatcher a bit, but not strongly enough to reject the PR 🤷

@mmaehren
mmaehren merged commit 19e3e63 into main Sep 15, 2026
14 checks passed
@mmaehren
mmaehren deleted the feat/faultListResult branch September 15, 2026 13:53
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.

2 participants