Hi, sorry if this has been asked before.
I have accidentally ran some integration tests, now all of them are showed as failing. I have only 'show failing tests' option enabled. O can ignore failing tests, that will update status message with 'monitoring X tests, failing 0', but is there an option to not ignore them, but simply clear the state of those tests?
Daily Usage Issues
How to clear failed tests/ i.e. remove the last build status?
Started by dariusdamalakas on 7,037 views
Remco NCrunch Developer
#7066
10 Mar 2015 10:57 UTC
Hi,
This option doesn't exist at the moment. The quickest and easiest way to do this is to just change the name of the tests, then change them back again. NCrunch will discard all state and treat them as new tests.
If there are heaps of tests and it isn't sensible to rename them individually, just clear out the NCrunch cache file with the engine disabled to reset all cached information.
This option doesn't exist at the moment. The quickest and easiest way to do this is to just change the name of the tests, then change them back again. NCrunch will discard all state and treat them as new tests.
If there are heaps of tests and it isn't sensible to rename them individually, just clear out the NCrunch cache file with the engine disabled to reset all cached information.
Thanks for the tip, that will do!
If I may to suggest, then i'd actually do a full cleanup when i resync/initialize NCrunch, instead of remembering state
If I may to suggest, then i'd actually do a full cleanup when i resync/initialize NCrunch, instead of remembering state
Remco NCrunch Developer
#7068
10 Mar 2015 11:32 UTC
dariusdamalakas wrote:Thanks for the tip, that will do!
If I may to suggest, then i'd actually do a full cleanup when i resync/initialize NCrunch, instead of remembering state
Sorry - I'm not sure if you're suggesting NCrunch should behave this way ... I'll answer as though you are :)
Some people have tests with very long/high run times, and the cache data in this situation is extremely valuable, so clearing it out with each engine reset would be a big pain point.
Post a reply
Log in to reply.