I have a problem debugging an NUnit test from VisualStudio. I created an empty project (Console Application), then I added references to the NUnit library and wrote a simple tes
Assuming you're using a version of Visual Studio other than Express Edition then TestDriven.NET might be of use.
After installing it
Unfortunately you can't use this method with Express editions of visual studio because TestDriven.NET is a plugin for visual studio and the Express editions do not support the use of plugins
You can also run a test in the debugger via a console application:
Inside the Main method of the console application create a new instance of your test fixuture and then call one of the test methods. For example if I have a fixture named MyTests and a test named Test1 I'd write:
var myTests = new MyTests();
myTests.Test1();
Set a breakpoint at the line where you create an instance of the MyTests
class and press F5