【问题标题】:How do I export the Serenity Report Result to HP ALM如何将 Serenity 报告结果导出到 HP ALM
【发布时间】:2019-04-11 17:06:10
【问题描述】:

我的 Jenkins Job 正在运行以 JAVA 编码的 API 自动化。它以 index.html 的形式生成 Cucumber - Serenity Report。我需要在 HP ALM 中导出/推送测试执行结果以跟踪我在 HP ALM 中的执行结果

通过线程,它谈到了在 Jenkins 中配置 testresult.xml 文件。在我的例子中,它生成 index.html 文件作为 Jenkins 中的测试执行。

跑步者档案:

import cucumber.api.CucumberOptions;
import net.serenitybdd.cucumber.CucumberWithSerenity;

@RunWith(CucumberWithSerenity.class)
@CucumberOptions(monochrome = true, strict = false,
    features = "src/test/resources/features/",
    glue = { "com.pearson.glp.qe.stepdefinations.assignmentmanagement"    },
    tags = { "@Regression" }, plugin = { "html:target/cucumber",
            "json:target/cucumber.json", "junit:target/cucumber.xml" })

我希望此测试结果能够导出并在 HP ALM 中用于跟踪执行情况。

【问题讨论】:

    标签: jenkins cucumber-serenity


    【解决方案1】:

    您可以查看具有 Jenkins 插件的 Agiletestware Bumblebee,并可以将您的 Serenity JSON 报告上传到 ALM。
    这是文档的链接:https://www.agiletestware.com/docs/bumblebee-docs/en/latest/ci-integration/jenkins/#-export-tests-results

    免责声明:我正在开发 Bumblebee。

    【讨论】:

    • 感谢您的回答。大黄蜂插件是一个商业插件,我正在寻找一个开源的。
    猜你喜欢
    • 1970-01-01
    • 2017-05-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-11-26
    • 1970-01-01
    相关资源
    最近更新 更多