Integrating NUnit Framework with Visual Studio 2012

Here is step by step activities to integrate NUnit with Visual Studio 2012.

1. Install NUnit framework from http://nunit.org/

2. In Visual Studio IDE, Click Tools-> Extensions and Update-> Click on Online Gallery, Search for nUnit and Install NUnit Test Adapter.

1

3. Add test project to your solution.

4. Add reference to NUnit Framework in test project.

5. Write unit test for the solution.

Now all tests (NUnit and Visual Studio   Test Framework) will appear in the test explorer window.

2

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.