Monday, May 19, 2008

Debugging nunit tests in Visual Studio Express

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 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&gt; 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

No comments:

Post a Comment