【问题标题】:In Karate DSL, how do you display the Junit HTML report as described/shown in the Karate documentation?在空手道 DSL 中,您如何显示空手道文档中描述/显示的 Junit HTML 报告?
【发布时间】:2018-06-07 11:38:01
【问题描述】:

我按照空手道文档并将 Junit HTML 报告复制粘贴到我的浏览器。但是,输出是纯文本,看起来与视频中描述的完全不同。我尝试了两种不同的浏览器,Firefox 57.0.2 和 Chrome 62.0,它们都给出了相同的输出。输出附在这里。

注意:我按照文档中的说明使用 @RunWith(Karate.class) 将 .feature 文件作为 Junit 测试运行。 Runner类示例代码如下。

导入 org.junit.runner.RunWith; 导入 com.intuit.karate.junit4.Karate;

@RunWith(空手道.class) 公共类 StageRunner {

}

【问题讨论】:

标签: html junit karate


【解决方案1】:

我认为这很简单,您没有使用完成此操作的最新0.6.2 version

【讨论】:

    猜你喜欢
    • 2021-09-03
    • 1970-01-01
    • 2020-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多