tristanmccarthy / Cucumber-JVM-Parallel

Example project showing running of Cucumber-JVM tests in parallel
17 stars 43 forks source link

Doesn't merge report correctly if forking scenarios #1

Closed thestumonkey closed 10 years ago

thestumonkey commented 10 years ago

If I am forking on scenario tags that are in the same feature file, like:

Feature: NUE
@stu Scenario: NUE pane links Given I have navigated to the "home" page Then I see the NUE pane with the "first post" link @stu2 Scenario: Open first post lightbox When I click on the "first post" NUElink Then the "first post" lightbox appears And the "POST" button is disabled @stu Scenario: Enable post button Given I have the "first post" lightbox open When I enter "x" into the publisher Then the "POST" button is enabled

And I have 2 runners to execute tags stu and stu2, then the combined report will be of the form:

Feature NUE

tristanmccarthy commented 10 years ago

Hey, Sorry for the delay getting back to you. Do you have a sample of what you were trying to do (though I imagine you've probably either resolved your problem or given up by now)? I've modified the example to act as you describe and it seems to work fine, see the "issues/1" branch: https://github.com/tristanmccarthy/Cucumber-JVM-Parallel/tree/issues/1