There are plenty of ways to run your NUnit tests while developing and during the build. JetBrains has released a unit test running add-in for Visual Studio, and they are giving it away for free. It’s called UnitRun. The screenshot to the right shows how you can execute a test from the margin. I like to map CTRL+T as my shortcut to run a test.
You can also run all of the tests in your solution with a larger window. (above) This isn’t a new release. It’s been out for some time, but I’d never mentioned it. I use unit run. It’s actually a feature of the larger Resharper package.
Other notable unit test runners are:
- TestDriven.Net (http://www.testdriven.net/) – also integrates NCover code coverage with the test run.
- TestMatrix from ExactMagic (http://www.exactmagic.com/) – test running with code coverage and profiling.