Skip to content

Handle skipped tests in "Not run" column#3743

Open
jjomier wants to merge 1 commit into
Kitware:masterfrom
jjomier:jjomier/handle_skipped_tests
Open

Handle skipped tests in "Not run" column#3743
jjomier wants to merge 1 commit into
Kitware:masterfrom
jjomier:jjomier/handle_skipped_tests

Conversation

@jjomier

@jjomier jjomier commented May 27, 2026

Copy link
Copy Markdown
Contributor

This commit introduces a new notRunSkippedDetailsRegex property to the Project model, allowing users to define regex patterns for not-run test details. A corresponding validation rule is added to ensure the regex is valid. The Build model now includes a method to count not-run tests that do not match the specified patterns, and the GraphQL schema is updated to expose this functionality. Additionally, UI components are modified to display the warning count and adjust test status colors based on the new regex patterns. Tests are also added to verify the new functionality.

image image

This commit introduces a new `notRunSkippedDetailsRegex` property to the Project model, allowing users to define regex patterns for not-run test details. A corresponding validation rule is added to ensure the regex is valid. The Build model now includes a method to count not-run tests that do not match the specified patterns, and the GraphQL schema is updated to expose this functionality. Additionally, UI components are modified to display the warning count and adjust test status colors based on the new regex patterns. Tests are also added to verify the new functionality.

@williamjallen williamjallen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm conflicted on whether this belongs in CDash, or whether this should be added as a CTest property. I'm leaning towards the latter because it's possible that some projects will want to dynamically set the list of not run test warnings. The build error filter feature removed in #3650 had roughly the same considerations. Any thoughts on this?

@jjomier

jjomier commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

It could be in addition to having a "Skipped" test property in CTest. However in CDash we would need a way to handle the display of skipped tests. Where you thinking something else?

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