Run Tests under the Debugger

1. Right-click on a test project in Solution Explorer and select Properties.
  • On the Debugging page, set the Command property to the full path to WinUnit.exe. Set Command Arguments to -b "$(TargetPath)", and Working Directory to $(TargetDir).

ProjectPropertiesDebugging.png

2. Set the test project as a startup project and press F5 (or your preferred "Start Debugging" shortcut key).

You can set breakpoints and step through tests; the output will show up in the Output window.

Last edited Sep 12, 2009 at 5:01 AM by mkblees, version 2

Comments

No comments yet.