Stress-debug flaky tests
Flaky tests are difficult to catch under a debugger due to the time it takes to start a new debugging session. It is frustrating to click the "Run the selected test(s) with debugger" button over and over again, waiting 5-15 seconds for each run.
It would be wonderful if we could tell NCrunch to debug a given test 100 times in a row, giving the test a chance to fail with the debugger attached. The behavior should be similar to running multiple tests with debugger attached, though in actuality it would be the same test running again and again.
Implemented as NCrunch Churn Mode.
-
Samuel Langlois commented
It might already be possible to do this with your test framework. With NUnit there is a Repeat attribute for example. Then you can just remove the attribute when you are finished debugging.