将 2 份报告合并为一份 1 in (testng) 诱惑 [英] Combining 2 reports into one 1 in (testng) allure

查看:56
本文介绍了将 2 份报告合并为一份 1 in (testng) 诱惑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是结合2个测试结果发布一份诱惑报告.基本上,我们的框架需要根据系统状态运行 2 组专有的相关测试作为 2 个不同的测试运行.这些将从 2 个不同的 JVM 运行.我需要结合这 2 次运行的结果来显示 1 份报告.

My requirement is to combine 2 test results to publish an allure report. Basically, our framework needs run 2 exclusive sets of related tests bases on system status as 2 different test runs. These will run from 2 different JVMs. I need to combine the result of these 2 runs to show 1 report.

由于 allure 为 testng 提供了一个适配器,我想知道这是否可行或者我应该从哪里开始.

As allure provides an adapter for testng, I'm wondering if this is possible or where should I start.

预先感谢所有指导.

推荐答案

Allure 具有内置的聚合功能,只需将两个诱惑结果包放在一个文件夹中,并将其用作报告的来源.您将获得包含两个套件的报告.

Allure has built-in aggregation functionality, just put two allure results bundles in one folder and use it as a source for your report. You will get report with two suites in it.

这篇关于将 2 份报告合并为一份 1 in (testng) 诱惑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆