-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues while running multiple CucumberWithSerenity runners in parallel #2565
Comments
https://github.com/temyers/cucumber-jvm-parallel-plugin is no longer supported. I've written up how to run Cucumber features in parallel in https://johnfergusonsmart.com/parallel-test-execution-with-cucumber-and-serenity-bdd/ - parallel scenario execution isn't supported. |
Hi @wakaleo, thanks for your feedback! The problem for me is that Serenity doesn't work with parallel CucumberWithSerenity runners as I showed in my example project. Could you please suggest if I misconfigured my code or how we can fix Serenity to execute Cucumber runners in parallel? |
Last time i tried it seemed to work fine with multiple runners globalworming/serenity-cucumber-starter@875c326#diff-7fa6615a67c71eb463e49be76cbe914bcc440e85b4eec68ef80e3ae9b16ad967 |
This seems to work fine in 3.2.0 - please reopen if the issue still occurs for you. |
The behavior is still the same for multiple runners with Serenity 3.2.0. Repository with example code is updated by me now. |
See https://github.com/serenity-dojo/swaglabs-serenity-cucumber.git for an example of multiple Cucumber runners running in parallel with Serenity 3.2.0 |
Since Cucumber with Junit can run only feature files in parallel I was looking for a solution to generate test runners for every scenario.
Test runners generation intself works fine with https://github.com/temyers/cucumber-jvm-parallel-plugin.
However, in case of multiple runners being executed in parallel, I'm getting issues with Serenity, namely:
Code can be found here: https://github.com/pogodins/serenity-cucumber-starter/tree/ParallelRunnersDifferentFeatures
Code example: https://github.com/pogodins/serenity-cucumber-starter/tree/ParallelRunnersSameFeature
@wakaleo could you please check if I configured properly test execution?
If I did it right, it would be really helpful to fix these issues as a lot of people would benefit from running scenarios in parallel.
When I'm able to execute multiple runners in parallel, I could write an insrtuction on how to generate runners and configure Serenity.
The text was updated successfully, but these errors were encountered: