Why do my tests succeed in one test runner but fail in another? - adamralph/xbehave.net GitHub Wiki

Culprits found so far include:

  • System.Diagnostics.Debugger.Break(); - most xUnit.net test runners fail when this statement is encountered. Failure is confirmed to occur when using xunit.console and TestDriven.Net. The ReSharper unit test runner seems to be immune.