Search code examples
unit-testingnunitmstest

Is there an MSTest equivalent to NUnit's Explicit Attribute?


Is there an MSTest equivalent to NUnit's Explicit Attribute?


Solution

  • No, the closest you will get is with the [Ignore] attribute.

    However, MSTest offers other ways of disabling or enabling tests using Test Lists. Whether you like them or not, Test Lists are the recommended way to select tests in MSTest.