Visual-studio – How to get started using Nunit in the Visual Studio project


I want to start using Nunit (finally), I am using Visual Studio 2008.

Is it as simple as importing Nunit into my test project?

I remember seeing a GUI for NUnit, does that do the exact same thing that a separate test project would do, except show you the pass/fail visually?

Best Solution

I like to add a link to NUnit in my external tools.

Under Tools->External Tools add NUnit

Title: &NUnit
Command: <path to nunit>
Arguments $(ProjectFileName) /run
Initial directory: $(ProjectDir)

After that you can quickly run it by compiling then hitting alt-t + n