|
fitNesseMissingSpacesInExamples
#watch out for errors when copying Gojko's examples - when removing the line numbers, insert spaces! http://fitnesse.s3.amazonaws.com/tdd_net_with_fitnesse.pdf from http://gojko.net/fitnesse/ Also watch out for some of Gojko's screenshots being out of sync with the text. ###error System.ArgumentException: Invalid directory on URL. java.lang.Exception: FitClient: external process terminated before a connection could be established. ###incorrect !define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,dotnet2\fit.dll%p} !define TEST_RUNNER {dotnet2\Runner.exe} !path C:\Fitnesse\tdd_net_with_fitnesse\Chapter2\HelloWorld\HelloWorld\bin\Release\HelloWorld.dll !|HelloWorld.OurFirstTest| |string1|string2|Concatenate?| |Hello|World|Hello World| ###telltale Command: dotnet2\Runner.exe -r fitnesse.fitserver.FitServer,dotnet2\fit.dllC:\Fitnesse\tdd_net_with_fitnesse\Chapter2\HelloWorld\HelloWorld\bin\Release\HelloWorld.dll xpmc2005 8888 15 no space in the Command part of the error page between fit.dll and the path to the target class dll. ###correct !define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,dotnet2\fit.dll %p} !define TEST_RUNNER {C:\Fitnesse\dotnet2\Runner.exe} !path C:\Fitnesse\tdd_net_with_fitnesse\Chapter2\HelloWorld\HelloWorld\bin\Release\HelloWorld.dll ###make sure there are spaces in the command pattern bit between the "%m" and the "-r" and the "fit.dll" and the "%p" !|HelloWorld.OurFirstTest| |string1|string2|Concatenate?| |Hello|World|Hello World| |