allure-java icon indicating copy to clipboard operation
allure-java copied to clipboard

When running the same test in different suites, the test does not merge in report

Open Awesomefreeman opened this issue 1 year ago • 2 comments

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:

  1. Clone my exaple repo https://github.com/Awesomefreeman/MyAllureProject
  2. Run SuiteOne
  3. Run SuiteTwo
  4. 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/ image

Screenshots Two same tests in allure report image

Desktop (please complete the following information):

  • OS: MacOs, Windows
  • Browser Chrome, Safari
  • plugin allure-maven 2.12.0
  • dependency allure-junit5 2.21.0

Awesomefreeman avatar Sep 29 '23 12:09 Awesomefreeman