I have made each of my test scenarios completely independent by using cucumber-guice ScenarioScoped objects. Now, I have the ability to run my cucumber scenarios in parallel. I have tried setting up the forkEvery and maxParallelForks in my gradle task. That doesn't seem to do the magic with JUnit. I am running my Cucumber feature files using the JUnit @Runwith option.
Please suggest if there are any options that I could try in being able to run my cucumber scenarios in parallel. Also, I am interested in running the scenarios in a multi-threaded fashion rather than running them in multiple JVMs.
I have made each of my test scenarios completely independent by using cucumber-guice ScenarioScoped objects. Now, I have the ability to run my cucumber scenarios in parallel. I have tried setting up the forkEvery and maxParallelForks in my gradle task. That doesn't seem to do the magic with JUnit. I am running my Cucumber feature files using the JUnit @Runwith option.
Please suggest if there are any options that I could try in being able to run my cucumber scenarios in parallel. Also, I am interested in running the scenarios in a multi-threaded fashion rather than running them in multiple JVMs.
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks,
Damian
On Monday, 2 March 2015 at 03:17, Naren Nala wrote:
Thanks for the reply.. based on what I have read, there is a maven sure fire plugin. But, we are using gradle and I haven't found anything so far for gradle.We are in the initial phase of migrating our tests to cucumber. Is there any plan for adding this feature into cucumber junit runner?
<dependency>Â Â Â Â <groupId>com.github.temyers</groupId>Â Â Â Â <artifactId>cucumber-jvm-parallel-plugin</artifactId>Â Â Â Â <version>0.1.0</version></dependency> |
--
Posting rules: http://cukes.info/posting-rules.html
--- You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe@googlegroups.com.