I have some unit-tests within a Visual Studio project with the attributes:
[TestMethod]
[ExpectedException(typeof(..Exception))]
When I run the tests from 'Test View' they pass because the exception is thrown. When I debug the project (F5 or start new instance) the tests are started and when the first exception is thrown the debugger halts and notifies that the exception is not catched.
I would have expected that the debugger runs in the unit-test context?