FitNesse 错误:找不到固定装置
我正在尝试使用 Java 中的 FitNesse 框架构建一些测试。由于某种原因,当我尝试使用脚本表时,出现错误“无法找到固定装置:脚本”。 我确信我已在类路径中配置了所有库。
谷歌搜索并没有太多信息。
任何指点都会非常有帮助
谢谢, 贾维德
I am trying to build few tests using the FitNesse framework in Java. For some reason, I get an error "Could not find fixture: script" when I try to use the script table.
I am sure I have all the libraries configured in my classpath.
Searching in Google doesn't have much information.
Any pointers would be very helpful
Thanks,
Javid
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
脚本表必须以“Script”作为关键字开头,后跟类名称。在此之前,您需要将测试定义为 Slim
语法: !define TEST_SYSTEM {slim}
Script table must start with "Script" as keyword followed by Class name. Before that you need to define the test as Slim
Syntax: !define TEST_SYSTEM {slim}
希望您已指定要使用的测试系统是 Slim,并确保路径中有fitnesse.jar。示例
http://fitnesse.org/FitNesse.UserGuide.DebugingFixtureCode 可以帮助调试
hope you have indicated the test system to use is Slim and make sure you have fitnesse.jar in the path. Example
http://fitnesse.org/FitNesse.UserGuide.DebugingFixtureCode could help debug
我在 FitNesse 20130530 独立版中的决策表也遇到了同样的问题。我必须解决的问题是:
FitNesse JAR 由 FitNesse 添加到 ClassPath 之前。
I had the same problem with my decision table in FitNesse 20130530 standalone. All I had to fix it is this:
FitNesse JAR is prepended to the ClassPath by FitNesse.