Dark mode switch icon Light mode switch icon

Debugging Nunit Tests In Visual Studio Express

1 min read

One of the annoying things about VS Express (other than it for some reason not saving my user preferences) is that there is not an easy way to debug nunit tests from within the UI. There is also no way to attach to a process to debug, which is going to limit asp.net development utility. Maybe VS 2008 Express is improved in this regard? I’ll download and see.

Here are two great ways to debug nunit tests. I opted for the simpler option of creating a .csproj.user file and adding the section to each of the <PropertyGroup> sets like so:

    ...<br />    <StartAction>Program</StartAction><br />    <StartProgram>C:\\Program Files\\TestDriven.NET 2.0\\NUnit\\2.4\\nunit.exe</StartProgram><br />  </PropertyGroup><br />

Stu’s Blog: Debugging NUnit in Visual Studio Express

Originally published on by Jason Axley