Nikunj Aggarwal
Nikunj Aggarwal

Reputation: 825

How can I merge 2 allure reports together?

I have a test suite of around 5000 test cases and not all test cases pass in 1 run always due to any environmental issue or any other problem, so we have to execute the testNG-failed.xml most of the time again. But it creates 2 allure reports and we have to share 2 or more reports to the stakeholders, which is unacceptable to the stakeholders.

Can we merge these 2 reports so that a final allure report will have all test cases which are marked as pass if the test case is passed in any of the reports and marked as failed if it is failed in both reports?

Note: We are using jenkins allure plugin for reports generation.

Upvotes: 2

Views: 3527

Answers (1)

RocketRaccoon
RocketRaccoon

Reputation: 2599

You can combine reports - see the answer.
Also Allure 2 is clever enough to understand that you have several retries of the same test. This info is provided under retries tab.

Upvotes: 1

Related Questions