Closed mpaquettePax8 closed 5 years ago
There is no parallel option in CucumberOptions
. So I am assuming you are using TestNG.
https://github.com/cucumber/cucumber-jvm/issues/1496
In this scenario Cucumber acts like a regular TestNG test. As such you should consult TestNGs documentation on parallel execution.
you may find these useful. Leads me to think you have to use dataproviderthreadcount.
https://stackoverflow.com/questions/31521466/testng-parallel-execution-with-dataprovider https://stackoverflow.com/questions/31521466/testng-parallel-execution-with-dataprovider
And that should probebly be put into the readme.
Ah yes my mistake! We are using TestNG for parallel execution by overriding the DataProvider. Thank you so much!
No worries. Would you mind helping out with a bit of documentation? This should be added to the readme of the TestNG module.
Cheers!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Summary
Apologies if this has been discussed elsewhere, couldn't find any documentation on this! Would like the ability to not only specify parallel =true in the cucumber options, but also to specify exactly how many feature or scenarios I would like to be executed in parallel.
Possible Solution
I believe this could be achieved by using Selenium grid and limiting browser instances per node. BUT this would be super awesome to be able to specify in Cucumber.
Your Environment