问题
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