I want to write unit test to detect an exception that has occurred. Using ExpectedExceptionAttribute, I run the test from within MSVS, and when TestMethod gets into the exception, the debugger goes to the exception, but TestMethod correctly skips and the reports passed.
Is there a flag to tell VS not to interrupt during unit testing?
source
share