Skip to content

Exclude some not run tests from console report#1722

Merged
CharliePoole merged 1 commit into
mainfrom
issue-431
Jul 3, 2025
Merged

Exclude some not run tests from console report#1722
CharliePoole merged 1 commit into
mainfrom
issue-431

Conversation

@CharliePoole
Copy link
Copy Markdown
Member

Fixes #431

@CharliePoole CharliePoole requested a review from a team July 2, 2025 15:59
@CharliePoole
Copy link
Copy Markdown
Member Author

See description of the change in the issue #431

string? label = resultNode.GetAttribute("label");
switch (label)
{
case "Explicit":
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.

Should these attribute values all be case sensitive, or is it worth doing a case insensitive check?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I remember asking myself the same question as I coded this. What I think is that they are exact here, because we create them exactly. Both the names and the values are case sensitive. They are also exact when used as attributes in the test code. We may allow (I can't remember) case-insensitive values at the command-line, which isn't relevant here.

I think the bottom line is whether we want to accept XML input from non-nunit sources, which might not be completely correct from our point of view. I'd say no to that.

@CharliePoole CharliePoole merged commit 9014ebf into main Jul 3, 2025
4 checks passed
@CharliePoole CharliePoole deleted the issue-431 branch July 3, 2025 19:04
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.

Suppress "skipped tests" output in console-runner for Explicit or Ignore tests

2 participants