allure-java
allure-java copied to clipboard
When running the same test in different suites, the test does not merge in report
Describe the bug When running the same test across different suites, test results are not combined in the report.
To Reproduce Steps to reproduce the behavior:
- Clone my exaple repo https://github.com/Awesomefreeman/MyAllureProject
- Run SuiteOne
- Run SuiteTwo
- Generate Allure Report
Expected behavior
I expect that both runs of the same test will be combined into one in the Retries tab.
I'll try to explain why this is needed. Let's imagine that I run 10 tests using the suite and 3 of the tests fails. I have a list of failed tests with a fully qualified name, then I want to retry these tests. I run the command mvn clean -Dtest=ClassName#failed_test,... test
I generate a report and expect to see 10 tests in the report, 3 of which are re-run. Now I will see 13 tests
Described in detail in this article https://habr.com/ru/companies/jugru/articles/337386/
Screenshots
Two same tests in allure report
Desktop (please complete the following information):
- OS: MacOs, Windows
- Browser Chrome, Safari
- plugin allure-maven 2.12.0
- dependency allure-junit5 2.21.0