2

I have a unit test that is marked with the [ignore] attribute, and therefore NCrunch does not run it. However, it would like to be able to run it manually. With Resharper it is possible to manually run the test eventhough the [ignore] attribute is added.

Is this possible with NCrunch?

kaya3
  • 47,440
  • 4
  • 68
  • 97
Casper Thule Hansen
  • 1,510
  • 2
  • 19
  • 36

1 Answers1

2

The short answer is no, but there is a workaround

I asked on the NCrunch forum, the answer can be seen here: http://forum.ncrunch.net/yaf_postst987_Making-NCrunch-run-unit-test-with--ignore--attribute.aspx I fixed it by adding the attribute [Category("Ignore")] to my tests and in NCrunch -> Set Engine Mode -> Customise engine mode -> select the engine mode you use -> set settings like this image

Casper Thule Hansen
  • 1,510
  • 2
  • 19
  • 36