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

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.

Leave a Comment