Open
Description
We have lots of instances of skipping tests in this manner:
However, returning early from a test will count as a "passed" test in Xunit, even if we didn't assert anything. This can lead to a false sense of confidence in test outcomes, especially for tests which are intended to be skipped temporarily.
We should find a way to make these tests show as "skipped" instead, like we do with Theories that have no data due to test filtering.
Xunit V3 (which is in preview) supports dynamic skipping of tests natively, but not Xunit V2. There's opportunity to use a library like Xunit.SkippableFact, which is used by several other Microsoft projects: Xunit.SkippableFact > used by ....
Metadata
Metadata
Assignees
Type
Projects
Status
Current Release