且构网

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

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

更新时间:2023-11-22 16:08:46

正如您在#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.