Replacement for ExpectedException in MS Test

This StackOverflow thread has a great solution for the issue that ExpectedException does not allow you to validate the error message. Look at the response from winSharp93 and the ExceptionAssert class. This is a much cleaner method and also shows some great ways to use generics.


Popular posts from this blog

Windows 8 Keyboard Shortcuts

Find All Characters In A Column

Migrating Legacy Apps to the New SimpleMembership Provider