gpt4 book ai didi

fitnesse - 从命令行运行 Fitnesse 测试

转载 作者:行者123 更新时间:2023-12-03 22:54:26 25 4
gpt4 key购买 nike

通过命令行运行 Fitnesse 测试时,我收到 ClassNotFound 异常

由 Java.lang.ClassNotFoundException:fitnesse.runner.testRunner 引起

找不到主类:fitnesse.runner.TestRunner.Program 将退出

请帮忙

谢谢

最佳答案

不再支持 TestRunner。使用 http://fitnesse.org/FitNesse.UserGuide.CommandLineRestCommands

更新:链接已更改 - http://www.fitnesse.org/FitNesse.UserGuide.ControllingFitNesseFromTheCommandLine

更新:链接再次更改 - http://fitnesse.org/FitNesse.UserGuide.AdministeringFitNesse.ControllingFitNesseFromTheCommandLine

摘自 Fitnesse 文档:

You can run any REST command (See Restful Services) from the command line by using the -c command line option as follows:

java -jar fitnesse-standalone.jar -c

This starts up fitnesse, runs the command, emits the output to standard out, and then exits.

Most often you will use this to run tests and/or suites from the command line as follows:

java -jar fitnesse-standalone.jar -c "MyTestPage?test&format=text"

关于fitnesse - 从命令行运行 Fitnesse 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11398181/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com