Getting jacoco report from cucumber tests with gradle
问题 I am working with gradle in a java project, I run my cucumber tests with a gradle task, something like this: task cucumber (){ //task that starts the app dependsOn 'jettyRunDaemon' jvmArgs '-javaagent:E:/MyProject/build/jacoco/jacocoagent.jar=destfile=build/jacoco/jacoco.cucumber.exec' doLast { javaexec { main = 'cucumber.api.cli.Main' classpath = sourceSets.main.output + sourceSets.test.output + configurations.testRuntime args = cucumberArgs() } } } List<String> cucumberArgs() { def args = [