Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How can I accept all tests (make them green by default)
springjazzy
#1 Posted : Tuesday, August 27, 2013 6:10:27 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

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.
Remco
#2 Posted : Tuesday, August 27, 2013 8:41:06 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.023 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download