Setting up automatic test runs after compilation in VS2010
I lifted some scripts from the interwebs so that after every compilation in visual studio unit tests are automatically run. I have been a long supporter of the TestDriven.Net addin and Resharper but I found auto running unit tests to be pretty freeing. Here’s the code.
So after a successful build the tests are run. Using this method you can automate any visual studio command or add in, including TestDriven.net or the Resharper Test runner.
You can get the code from CodePaste