FitNesse 错误:找不到固定装置

发布于 2024-09-25 04:16:13 字数 152 浏览 1 评论 0原文

我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

计㈡愣 2024-10-02 04:16:13

脚本表必须以“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}

如日中天 2024-10-02 04:16:13

希望您已指定要使用的测试系统是 Slim,并确保路径中有fitnesse.jar。示例

!define TEST_SYSTEM {slim}
!path 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

!define TEST_SYSTEM {slim}
!path fitnesse.jar

http://fitnesse.org/FitNesse.UserGuide.DebugingFixtureCode could help debug

扶醉桌前 2024-10-02 04:16:13

我在 FitNesse 20130530 独立版中的决策表也遇到了同样的问题。我必须解决的问题是:

!define TEST_SYSTEM {slim}

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:

!define TEST_SYSTEM {slim}

FitNesse JAR is prepended to the ClassPath by FitNesse.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文