如何将元数据添加到Firebase Test Lab提供的JUnit报告中?

问题描述 投票:0回答:0

我们正在寻找一种方法来自定义 Firebase 测试实验室在执行结束时生成的 JUnit 报告。

我正在寻找的用例是为 TestRailCaseId 添加一个 XML 格式的属性,如下所示

<testcase name="testOpenWDC" classname="iphone13pro-15.7-en-portrait#.App-UITests.BothChatsWDCEnabledUITests" time="40.548" testrailcaseid= "1045338">
      <webLink>https://console.firebase.google.com/project/app/testlab/histories/bh.388190097b1eab25/matrices/6828394051157329412/details</webLink>
    </testcase>

我们已经在每个测试用例中都有自定义属性,此时,在 Firebase 测试实验室文档中没有关于如何实现它的指示,我们使用 Flank 作为客户端运行器

junit gcloud firebase-test-lab testrail
© www.soinside.com 2019 - 2024. All rights reserved.