gradle
8.6

# reportOn

open fun reportOn(results: Array<Any>)(source)

### Deprecated

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 files. 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.

This method is `@Deprecated` - use getTestResults and invoke from instead, passing references to getBinaryResultsDirectory as arguments.

#### Parameters

results

The result objects.