Option to enter debugger when churn mode makes a test fail
I would like to use churn mode for a single test and make NCrunch enter the debugger as soon as churn mode was able to fail the test.
8
votes

-
Vincent D commented
You can set the following line in the "if" code branch that is supposed to fail and it start a debugger in the failling context :
System.Diagnostics.Debugger.Launch();
-
Anonymous commented
That would indeed be a huge timesaver. I just spent over 2 hours debugging a pretty complex integration test with trace messages only because the failure only manifested about every 30 test runs... :\