Browse by Tags

All Tags » Unit Testing (RSS)

Testing for Exceptions in Unit Test Frameworks

In MSTest and nUnit, the typical way to test for exceptions is by using the [ExpectedException] attribute on a test method. I've always found this to be a little annoying, but it was just recently that I decided to do something better. Unsurprisingly...
Posted by cmarinos | 3 comment(s)
Filed under: ,