Like in older versions of Visual Studio it is possible to use NUnit as an external tool in the new 2010 version. By creating a toolbar as well it is very easy to run your test suite. The usual way to add an external command is by clicking the menu Tools -> External Tools. However, by default this menu item is not visible. To enable this menu item go to Tools -> Settings -> Expert Settings.
The first step is download and install the latest version of NUnit since older versions are not compatible with .NET 4. NUnit version 2.5.5 can be downloaded here.
Now go to Tools -> External Tools:
I think this screen shot explains itself very well. Now its possible to add this external command to a tool bar. To do so go to View -> Toolbars -> Customize:
Press the New button and enter a name. Now open the Commands tab and add the external command (usually External Command 1 when you don’t have any other external commands) to the toolbar:
When clicking the NUnit button in the new toolbar the NUnit GUI starts and loads your test suite.
Related posts:




Very helpful. Many thanks
first update NUnit for .NET 4.0 or else its useless…
Works like a charm. Thanks for this tip.
Many thanks for posting this, Marthijn.
Great tip. I will clarify that last step about selecting the “External Command [x]” . The [x] corresponds to entry number of “Nunit tools” in the “External Tools” window. For example if Nunit tools is the third entry in the list, then you would select “External Command 3″
Thanks man !!! You help me a lot !
Great article! Well done.
Thanks a lot man. This is very helpful