Running NUnit in Visual Studio 2010

It is possible to use NUnit as an external tool in the new 2010 version.

The first step is download and install the latest version of NUnit since older versions are not compatible with .NET 4.

Now go to Tools -> External Tools:

Visual Studio 2010 External Tools

View -> Toolbars -> Customize:

Visual Studio 2010 Customize Toolbars

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:

Visual Studio 2010 Toolbars

When clicking the NUnit button in the new toolbar the NUnit GUI starts and loads your test suite.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s