Geeks With Blogs

News This is the *old* blog. The new one is at
Elton Stoneman
This is the *old* blog. The new one is at
Unit Testing
How to setup and teardown integration test dependencies
For automated integration tests, you often have external dependencies that you need to start up before the test run, and teardown after the test run. If you’re firing up a stub service, deploying a database, or starting a bunch of NServiceBus hosts, that can be expensive. You don’t want to do it in the test setup, as it’ll make all the tests longer to run. Ideally you want to run the startup once before any test starts, and then run the teardown once after all tests have finished. Visual Studio doesn’t ......

Posted On Wednesday, December 11, 2013 5:15 PM

Verify Long-Running Tests with Retrying Asserts

Retrying Asserts under a timeout for unit tests

Posted On Friday, October 31, 2008 8:47 PM

ExpectedException in MSTest does not check the exception message

Helper method for checking unit testing that an exception is thrown, with the correct error message

Posted On Friday, September 30, 2011 3:08 PM

Copyright © Elton Stoneman | Powered by: