The aim of this project is to provide extensions to Visual Studio's MSTest tool. The goal is match the functionality of the xUnit family of testing frameworks where possible. The extensions support MSTest for both Visual Studio 2005 and 2008.
This code base was originally developed by Edenbrook (http://www.edenbrook.co.uk) but has been released for public use.
Extensions implemented so far:
- "TestTransaction" attribute (similar to MbUnit's "RollBack") to roll back database operators when the test completes.
- "ExpectedExceptionMessage" attribute to fix the built-in "ExpectedException". The custom "ExpectedExceptionMessage" matches the supplied message with the exception message thrown by the Test Method.
- "TestTimer" attribute, if the duration of a test exceeds the specified time the test fails.
New contributors to this project are welcome.
Please see the Discussions tab for a "How To".
Please see this blog post for more information: http://callumhibbert.blogspot.com/2008/01/extending-mstest.html