How to execute Cucumber test cases parallel
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to execute Cucumber test cases parallel
I have a requirement like below:
I have 10 Feature file created under a test suite and I wanted to execute all the test in one go. i.e all the test should be executed at the same time against the defined endpoint. i dont want to create the separate runner class for each of the feature file...
and i want generate the runner class automatic by using maven plugin like
temyers/cucumber-jvm-parallel-plugin
but in latest version of cucumber i cant able to do
Can anyone tell me how to generate the runner class automatic in latest version of cucumber
Advance thanks.
Regards,
Ranjeet
- Labels:
-
Cucumber-JVM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider using TestNGs or JUnits build in parallelism support instead of using surefire to execute your classes in parallel.
- https://github.com/cucumber/cucumber-jvm/tree/main/testng#parallel-execution
- https://github.com/cucumber/cucumber-jvm/tree/main/junit#parallel-execution-with-maven
- https://github.com/cucumber/cucumber-jvm/tree/main/junit-platform-engine#configuration-options
