// archives

Unit Tests

This tag is associated with 1 posts

ExpectedException – Doh!

Every time I learn an easier way to do something, I’m glad I learned it, but I feel like an idiot for not finding it sooner.  Here’s a perfect example.  Here’s the hard way to check for an expected exception in a VSTS unit test: /// <summary> /// Test for an expected exception – the [...]