Cucumber - Running feature files in Parallel - JUnit+Gradle

176 Views Asked by At

I am unable to find solution to configure gradle to run cucumber features in parallel using JUnit.

Cucumber site is documented with Maven solution for parallel execution. It is not documented for gradle.

Please help me with gradle configuration which is equivalent to below configuration in pom.xml.

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.22.0</version>
    <configuration>
        <parallel>methods</parallel>
         <threadCount>4</threadCount>
    </configuration>
</plugin>
0

There are 0 best solutions below