For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

output

abstract fun output(logTime: Instant, destination: TestOutputEvent.Destination, output: String)(source)

Emit an output event for the test. May be called multiple times. May not be called before started.

Since

8.12

Parameters

logTime

the time the output was logged, must be between the start and end times of the test

destination

the destination of the output

output

some output from the test