My folder structure is like this:
SuiteSetUp
TestSuite
-Test 1
-Test 2
. . .
-Test n
When I run the suite through Fitnesse in the webbrowser, the suitesetup is called correctly. However, if I call TestRunner.exe from the command line like so
testrunner -c "configFile" -results "resultsFile" localhos开发者_开发知识库t 8080 "TheSuite"
it fails to run the SuiteSetUp, and only runs each of the tests in the suite instead. Since the tests rely on the setup, the tests fail, but I havent figured out why this is happening.
The TestRunner protocol has been deprecated. See instead http://fitnesse.org/FitNesse.UserGuide.CommandLineRestCommands
精彩评论