|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.AbstractTask org.gradle.api.DefaultTask org.gradle.api.tasks.testing.TestReport
@Incubating public class TestReport extends DefaultTask
Generates an HTML test report from the results of one or more Test tasks.
Method Summary | |
---|---|
File
|
getDestinationDir()
Returns the directory to write the HTML report to. |
FileCollection
|
getTestResultDirs()
Returns the set of binary test results to include in the report. |
void
|
reportOn(Object... results)
Adds some results to include in the report. |
void
|
setDestinationDir(File destinationDir)
Sets the directory to write the HTML report to. |
void
|
setTestResultDirs(Iterable testResultDirs)
Sets the binary test results to use to include in the report. |
Method Detail |
---|
@OutputDirectory public File getDestinationDir()
@InputFiles @SkipWhenEmpty public FileCollection getTestResultDirs()
public void reportOn(Object... results)
This method accepts any parameter of the given types:
results
- The result objects.
public void setDestinationDir(File destinationDir)
public void setTestResultDirs(Iterable testResultDirs)
Gradle API 1.12