By default it doesn't drill into Groovy files to show the line coverage on source files. To get it to do so you need to add the following convention setting in your build.gradle:
cobertura {
coverageSourceDirs = sourceSets.main.java.srcDirs + sourceSets.main.groovy.srcDirs
}
Enjoy.
No comments:
Post a Comment