I have a web application running on wildfly 9 using gradle to build it, and I would like to get code coverage of manual tests, so I started using jacoco
for doing so. What I have so far is this in my build.gradle
file is this for starting java in debug mode:
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.debug = true
options.compilerArgs = ["-g"]
}
And this for defining jacoco reports
jacocoTestReport {
reports {
xml.enabled true
csv.enabled false
html.destination "${buildDir}/jacocoHtml"
}
}
However, it does not generate jacoco folder, I think I am missing some point or something.