Hi!
As described in topic, how can I accept all tests - make them green by default. Somehow I managed to run all tests in solution and since I didn't want it really I've stopped them and now I always have that red circle saying that I have 300+ broken tests. All tests are proceeded on night build server and I can't run all of them on my workstation.
Build/Test Issues
How can I accept all tests (make them green by default)
Started by springjazzy on 5,181 views
Remco NCrunch Developer
#4568
27 Aug 2013 08:41 UTC
Hi,
Thanks for posting!
There isn't any way you can manually flag tests with a particular status in NCrunch. The only way for a test to be considered passing is for it to pass.
If the tests are never supposed to be run in NCrunch, I recommend just ignoring them using the options in the Tests Window. This will set them to a status of 'Ignored' which won't be considered failing.
To reset NCrunch's recorded status of all your tests, just close your IDE and delete the "_NCrunch_" directory inside your solution directory. The next time you start up NCrunch for this solution, all remembered test data and code coverage will be cleared, but your settings will still be intact.
Cheers,
Remco
Thanks for posting!
There isn't any way you can manually flag tests with a particular status in NCrunch. The only way for a test to be considered passing is for it to pass.
If the tests are never supposed to be run in NCrunch, I recommend just ignoring them using the options in the Tests Window. This will set them to a status of 'Ignored' which won't be considered failing.
To reset NCrunch's recorded status of all your tests, just close your IDE and delete the "_NCrunch_" directory inside your solution directory. The next time you start up NCrunch for this solution, all remembered test data and code coverage will be cleared, but your settings will still be intact.
Cheers,
Remco
Post a reply
Log in to reply.