Remco;2314 wrote:NCrunch uses its own custom-built test runner to execute MSTest tests, and at the moment this test runner does not support custom ExpectedException attributes. Where working with tests that require this behaviour in NCrunch, I recommend introducing the exception filter logic in the test itself, perhaps delegating it to a reusable block of code if you have many tests that do this.
We have a lot of tests like this (hindreds+) and changing all of them will be hard to justify. Using custom attribute makes test code cleaner and more readable, at least our team prefer it like this.
Do you know if there are plans to start supporting custom ExpectedException in the nearest releases of NCrunch?