Skip to content

How do I report a test that's not run - add ExplicitTestNodeStateProperty #2538

Description

In the Microsoft.Testing.Platform object models under Microsoft.Testing.Platform.Extensions.Messages, I see messages for passed, failed, and skipped tests.

In xUnit.net v3, we also have a concept of a test that wasn't run because it's only ever run when explicitly asked to. It's philosophically closest to a skipped test, but it's not exactly the same. Is there a plan for anything like this in the new object model? I'm leaning towards not reporting anything at the moment, because dotnet test does not need to say anything. However, I am wondering whether there's a way to highlight such tests in Test Explorer today (and if not, if it's a feature under considering). By not reporting it, it will always just stay in the tree as "not run" which is the most appropriate UX if there's no concept of "won't be run unless you explicitly ask it to be run".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions