Combining 2 reports into one 1 in (testng) allure

偶尔善良 提交于 2020-04-14 07:19:08

问题


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.

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

Thanks in advance for all the guidance.


回答1:


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:


you can also use: allure serve /path/to/results1 /path/to/results2



来源:https://stackoverflow.com/questions/40079396/combining-2-reports-into-one-1-in-testng-allure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!