且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 karate-config.js 中找不到 karate.callSingle .feature 文件

更新时间:2023-11-22 16:21:58

正如你在 #1515 的讨论中看到的那样 - 这就是为什么我们真的希望更多人尝试 RC 版本并给我们反馈(我们花了几个月),而不是等待 1.0.

As you can see in the discussion of #1515 - this is why we'd really like more folks to try the RC versions and give us feedback (we spent months on this) instead of waiting for 1.0.

您的情况似乎是一种边缘情况,您使用的是独立 JAR 和自定义 shell 脚本.

Yours seems to be an edge case where you are using the stand-alone JAR and a custom shell script.

我的第一个建议是使用 -w 标志.这是 1.0 中的一个新参数,可以设置当前工作目录",但在您的情况下应该正确默认.

My first suggestion is to use the -w flag. This is a new argument in 1.0 which can set the "current working directory", but it should default correctly in your case.

第二个建议是为 JVM 设置类路径.将此用作参考:https://***.com/a/58398958/143475 - 一旦你这样做了,classpath: 将按您的预期工作.

The second suggestion is to set the classpath for the JVM. Use this as a reference: https://***.com/a/58398958/143475 - and once you do that, classpath: will work as you expect.

否则请按照以下流程操作:https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue - 我不得不说,除非你能帮助我们解决这个问题,否则你可能不得不在 0.9.6 上停留一段时间.对不起.

Else please follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue - and I have to say that unless you can help us fix this, you may have to remain on 0.9.6 for a while. Sorry.