Archive for March, 2008

NUnit in Visual Studio 2008

How to use NUnit with Visual Studio 2008.

First you should install both NUnit and Visual Studio 2008.  I happen to have Visual Studio 2008 Pro and it comes with a Test menu.

Second, download the NUnitTestExample and install it on your Visual Studio 2008 project.  Open the project file and compile it.

Third, go to the bin folder of the project and drag the .dll file into the NUnit icon on your desktop. In other words, open the NUnit with the .dll file as the parameter.

Fourth, click the “run” button to run the specific test of this project.

That is it.  You can use this starter C# Library project as a starting point for a Test Driven Development (TDD).

Comments (2)