Running Cucumber tests directly from executable jar

I would divide the problem you are thinking of in two parts. Create an executable jar Run Cucumber from your own main method Creating an executable jar using Maven can be done in different ways. One way of doing it is described here: http://www.thinkcode.se/blog/2011/03/05/create-an-executable-jar-from-maven It is a small example that only focuses on executing something … Read more

How to execute cucumber feature file parallel

Update: 4.0.0 version is available at maven central repository with bunch of changes.for more details go here. Update: 2.2.0 version is available at maven central repository. You can use opensource plugin cucumber-jvm-parallel-plugin which has many advantages over existing solutions. Available at maven repository <dependency> <groupId>com.github.temyers</groupId> <artifactId>cucumber-jvm-parallel-plugin</artifactId> <version>2.1.0</version> </dependency> First you need to add this plugin … Read more