prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
132 stars 38 forks source link

Scenario Outline have same name in the xml report (with not identifiers) #353

Closed albertolopez55 closed 2 years ago

albertolopez55 commented 2 years ago

Hello Ramcharan Using the CLI (With no courgette), when i execute an Scenario Outline (with multiple data), in the XML report, the scenario name are shown like this Scenario Test 1 Scenario Test 2 Scenario Test 3

Using Courgette, the scenarios are displayed in the XML only like this: Scenario Test Scenario Test Scenario Test

This is causing that we have different numbers displayed in Bamboo. Because the Courgette Report and the HTML report do count the executions of the Scenarios Oulines. In the example i gave you, the reports count "3" But bamboo, when reads the XML, they only count "1" because it does not count the repeat scenarios (same name). Do you think is feasible to include the number of the iteration of the scenario outline? like this: Scenario Test 1 Scenario Test 2 Scenario Test 3

Tks

prashant-ramcharan commented 2 years ago

Hi, I should be able to include the iteration in the xml report. I will add this to the next release.

To keep it in line with Cucumber, it will follow the below:

Scenario Test
Scenario Test 2
Scenario Test 3
albertolopez55 commented 2 years ago

Tks for your support!

prashant-ramcharan commented 2 years ago

This is now released in Courgette 6.7.0

cucumberRetryChart commented 2 years ago

I checked and now xml displays the iterations correctly. Now reports match! Thank you very much for your support!