Search code examples
nunit

Ignore all NUnit tests in a file


I can add an attribute on a test to ignore it:

[Test]
[Ignore("Foo Bar")]

Is there a way to ignore all tests in a file (at the TestFixture level)?


Solution

  • Simply don't apply the TextFixture attribute on the class.