Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should ConditionalFact and similar attributes in XUnitExtensions filter tests out automatically? #15195

Open
ViktorHofer opened this issue Oct 22, 2024 · 0 comments

Comments

@ViktorHofer
Copy link
Member

ConditionalFact and similar attributes add a failing trait to the tests that should conditionally not run:

yield return new KeyValuePair<string, string>(XunitConstants.Category, XunitConstants.Failing);

It might make sense to automatically filter those out without relying on the test settings to exclude the failing trait (i.e. in a .runsettings file).

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

No branches or pull requests

2 participants