-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Running Cucumber Features in Parallel from TestRunner #1343
Comments
While you can run multiple instances of the As such you may have some luck adapting the RunCukesByCompositionTest to use You can also try the cucumber-jvm-parallel-plugin. |
@mpkorstanje ..Thanks for a quick reply, I tried the cucumber-jvm-parallel-plugin and it worked fine but showing json filename as device name. Is it possible to change that.? |
I can't really help you with that. This also isn't really the place for general advice. You can try the mailing list, slack of stackoverflow. Anyway. It's a maven plugin, try a maven profile or some such. And perhaps use different file names for each run/instance. |
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. |
When I am running the cucumber test from testng.xml, scenarios are not executed in parallel. Scenarios are executed one after another. I am using the threads and parallel configuration in testng.xml file and using the surefire plugin for running the features. In the testruuner I have metioned the website folder where I have got multiple feature file.
So when I run the test using Maven it always executes the feature files one after another and not in parallel.
Expected Behavior
thread should be created for every feature in the test runner so that all the features can be run parallelly
Current Behavior
features are not running in parallel and running one after another.
Possible Solution
Steps to Reproduce (for bugs)
Please have a look at the below configuration to replicate this issue
Surefire Plugin configuration from pom.xml:
Testng.xml file:
TestRunner file in which Website is the folder where I have got multiple features:
Context & Motivation
trying to run the features in testrunner parallelly on multiple instances of browsers.
Your Environment
The text was updated successfully, but these errors were encountered: