Lambert on Development

My thoughts on software development

Lambert on Development RSS Feed
 
 
 
 

Posts tagged Unit Tests

ExpectedException – Doh!

ShareEvery 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 hard way
/// [...]

Similar Posts

Google Reader

Blogroll

Blog Directories

 
Programming Blogs - Blog Catalog Blog Directory
 
Computers Blogs - Blog Top Sites
 
Banner
 
Lambert on Development - Blogged