【问题标题】:Cannot run karate tests with CLI无法使用 CLI 运行空手道测试
【发布时间】:2020-01-23 21:12:47
【问题描述】:

我无法使用 CLI 执行测试。跑步者工作。我正在使用带有 maven 命令的 0.9.5.RC5 版本:“ mvn test -f pom.xml exec:java -Dexec.mainClass=com.intuit.karate.cli.Main -Dexec.args='-d' -Dexec .classpathScope=test"

这是错误: 错误 com.intuit.karate - 驱动程序配置 / 启动失败:未能按名称构造类:找不到 karate-http.properties,正在中止,选项:{type=chrome, target=null}

我将 java karate-apache、karate-core 和 karate-junit4 作为依赖项。 java版本是13

【问题讨论】:

    标签: karate


    【解决方案1】:

    我们还不支持 Java > 12:https://github.com/intuit/karate/tree/develop#getting-started

    编辑:使用空手道 1.0

    【讨论】:

    • 谢谢。 8 号开始工作。
    猜你喜欢
    • 1970-01-01
    • 2021-03-15
    • 1970-01-01
    • 1970-01-01
    • 2020-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多