Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Exceptions » Delegates   (RSS)

The ultimate ExceptionAssert.Throws() method

A while ago I published a post titled Pimp your VSTT exception tests in which I pointed out some disadvantages of VSTT's declarative approach to testing for exceptions and provided an alternative. I recently gave this some more thought while writing some
Posted by ddietric | 0 Comments

Pimp your VSTT exception tests

Writing unit tests in VSTT is great since it comes with a nice unit testing framework and the test tools are neatly integrated into Visual Studio. There is one exception though: Exception testing (yes, that pun was intended). Consider the following example:
Posted by ddietric | 5 Comments
 
Page view tracker