Search code examples
.netfitnessefitnesse-slim

Slim .net: How do I debug test fixtures using visual studio?


I've figured out how to run my tests from the commandline using:

java -jar fitnesse.jar -c MyFixturePage?test&format=text -d "c:/utils/fitnesse/" -r "FitNesseRoot"

Using this as the startup parameters for my Fixture assembly project in visual studio does not work. I'm using the Slim runner and executor in my fixtures : http://github.com/jediwhale/fitsharp/downloads

Has any one worked out how to get debugging with Slim working in Visual Studio?


Solution

  • The problem is that java spawns another process where your .NET code gets executed and then that process shuts down right away. Here's a way to get a hold of the process where the .NET code runs:

    http://www.asoftwarecraft.com/2010/01/troubleshooting-with-fitsharp-and.html