Bamboo 测试计划中多个纽曼集合的 HTML 结果页面中的测试计划摘要

时间:2021-03-29 17:06:11

标签: junit bamboo newman bamboo-artifacts

我有一个竹子测试计划,该计划在该测试计划的默认阶段的任务中具有以下示例作为脚本

newman run "Collection_1.json" -n 1 --delay-request 1 -r progress,junit,htmlfull2 --reporter-htmlfull2-export newman/"$(date '+%Y%m%d')_local details mandatory fields validation.html" 
newman run "Collection_2.json" -n 1 --delay-request 1 -r progress,junit,htmlfull2 --reporter-htmlfull2-export newman/"$(date '+%Y%m%d')_bilateral details mandatory fields validation.html" 
newman run "Collection_3.json" -n 1 --delay-request 1 -r progress,junit,htmlfull2 --reporter-htmlfull2-export newman/"$(date '+%Y%m%d')_Verify create time - modify time - expire time on all endpoints.html" 
and so on...

我正在使用 JUnit 解析器,如下所示:

enter image description here

并且还在工件选项卡下定义了 HTML 报告位置。

测试运行后,报告按预期生成,这是我们看到的:

enter image description here

查看结果,我无法确定哪些报告未通过测试和通过测试,直到我没有进入可能非常耗时的个别报告。我的一些计划有 30 到 40 个集合,需要付出很多努力才能进入每个报告,然后评估其中的测试是通过还是失败。

是否有人实施了任何解决方案,以某种方式显示哪些集合已通过或未通过查看主报告?比如链接是绿色和红色,还是显示每个单独的集合报告通过/失败?

任何建议或帮助都会非常有用。

0 个答案:

没有答案