Fitnesse.NET Testrunner 未运行 SuiteSetUp
我的文件夹结构是这样的:
SuiteSetUp
TestSuite
-Test 1
-Test 2
. . .
-Test n
当我在网络浏览器中通过 Fitnesse 运行套件时, Suitesetup 被正确调用。但是,如果我像这样从命令行调用 TestRunner.exe,
testrunner -c "configFile" -results "resultsFile" localhost 8080 "TheSuite"
它将无法运行 SuiteSetUp,而只运行套件中的每个测试。由于测试依赖于设置,因此测试失败,但我还没有弄清楚为什么会发生这种情况。
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" localhost 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

TestRunner 协议已被弃用。请参阅 http://fitnesse.org/FitNesse.UserGuide.CommandLineRestCommands
The TestRunner protocol has been deprecated. See instead http://fitnesse.org/FitNesse.UserGuide.CommandLineRestCommands