Run tests in parallel using Cucumber with Java Selenium with Gradle
问题 I'm using Cucumber with Gradle and would like to run Cucumber features in parallel but can't figure out how. My cucumber executor looks like this: task cucumber() { dependsOn assemble, compileTestJava doLast { javaexec { main = "cucumber.api.cli.Main" classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output args = ['--plugin', 'pretty', '--plugin', 'json:build/reports/cucumber-report.json', '--plugin', 'html:build/reports/cucumber-report.html', '--glue',