Defines a new SourceSet for the code to be instrumented. Defines a new Test Task which executes normal tests with the instrumented classes. Defines a new Check Task which enforces an overall line coverage requirement.
| Type | Name and description |
|---|---|
boolean |
coverageDebug |
boolean |
coverageOutputCoberturaOptions for enabling and disabling output |
boolean |
coverageOutputHTML |
boolean |
coverageOutputXML |
java.io.File |
dataDira directory to write working files to |
java.util.List<java.lang.String> |
excludedFilesregex for each excluded file |
java.util.List<java.lang.String> |
excludedPackagesregex for each excluded package |
boolean |
highlightingrange positioning for highlighting |
org.gradle.api.file.FileCollection |
pluginClasspath |
java.io.File |
reportDira directory to write final output to |
java.io.File |
sourcessources to highlight |
| Constructor and description |
|---|
ScoverageExtension
(org.gradle.api.Project project) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Options for enabling and disabling output
a directory to write working files to
regex for each excluded file
regex for each excluded package
range positioning for highlighting
a directory to write final output to
sources to highlight
Groovy Documentation