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
Run in parallel mode with JUnit #86
Comments
+1 this. Parallel runner is one of the tips outlined in specification by example to get quick feedback as collections of tests grow. Quick feedback amplifies learning. |
This issue can be replicated via https://github.com/cgleissner/cucumber-jvm/tree/master/examples/java-parallel Use mvn clean install -Pparallel to enable a parallel build of two tests, using two threads. The README.txt in that example project contains further details. |
+1 - I'd love to see this working. |
I have updated your branch @cgleissner : master...java-parallel-example Seems to be working fine now. So I guess as long as the user is properly partitioning what to run with several |
Hi Aslak, I tried the parallelism feature and it works now, which is great. Thanks a Regards On Mon, Mar 26, 2012 at 2:08 AM, Aslak Hellesy <
Christian Gleissner, Senior Software Engineer P chris_gleissner (Skype) This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. |
Great - I'll close this then. |
Hi Aslak, the new feature works great with Surefire 2.10. However, when I try to upgrade Surefire to 2.12, it fails. That new version This occurs with JUnit 4.10 and Cucumber-JVM 1.0.0.RC24 under Apache Maven Example along with some logging in the step methods:
|
Please create a new ticket for this, and please use GFM to format logs |
Hi aslakhellesoy.. i have found a neater way of implementing cucumber jvm parallel runs. i have small POC ready.. Let me know how can i send it for review? |
Just send a pull request or put it in a new repo on github. |
Hi aslakhellesoy.. I've forked the project, added the POC related changes to the JUnit project and commited it to forked source here: https://github.com/mrunalgosar/cucumber-jvm.git. Look at package: cucumber.api.junit.parallel. Let me know your views if this approach is doable further, then i can work on the same and get this feature implemented properly. |
Hi aslakhellesoy.. I've forked the project, added the POC related changes On Fri, Nov 27, 2015 at 1:52 AM, Aslak Hellesøy notifications@github.com
|
Many people use Cucumber without using the JUnit runner. Core functionality (such as parallel execution) should not depend on JUnit. Another thing we need to handle well is results - if there are many threads running scenarios, the results should still be collected and reported in the same way as if there were only one thread. We'll implement this our own way, based on Gherkin3's pickles. |
Ok..sounds Fair enough.. i'll probably keep it in some kind of util and Regards On Sat, Nov 28, 2015 at 9:51 PM, Aslak Hellesøy notifications@github.com
|
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. |
See http://groups.google.com/group/cukes/msg/12ad0e5b2f2a846a
The text was updated successfully, but these errors were encountered: