v1.46
Sometime when I refactor code I want to ensure some code paths are executed from my newly added tests.
However since multiple tests are already covering the code I need to, on every line I want to check, click on it and see if my any of my tests are part of it.
It would be helpful if I could either:
A) Enable only pinned tests (e.g. with engine mode "run pinned tests automatically") to calculate the code coverage.
B) In some easy way reset the code coverage, so I can have above engine mode running to see what code paths my pinned tests are covering, without having to close solution and remove _NCrunch_* folder.
I guess A would be harder to implement but feels like a more compelling feature (toggling that option to quickly spot code coverage without rerunning everything).
Option B I guess can be easily fixed by simply having another command "Reset current metrics" or similar.
Thanks.
*Edit: I just realized removing _NCrunch_* folder was not a very good idea since my pinned statuses for tests seem to be stored in that folder. Shouldn't those "pinned statuses" be stored in *.ncrunchsolution.user instead?
Edited 26 Sep 2013 05:14 UTC