api / org.gradle.api.tasks.testing / TestReport / reportOn
reportOn
open fun reportOn(vararg results: Any): Unit
Adds some results to include in the report.
This method accepts any parameter of the given types:
- A Test task instance. The results from the test task are included in the report. The test task is automatically added as a dependency of this task.
- Anything that can be converted to a set of File instances as per
org.gradle.api.Project#files(Object...)
. These must point to the binary test results directory generated by a Test task instance.
- An Iterable. The contents of the iterable are converted recursively.
Parameters
results
- The result objects.