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.

TestOutputDescriptor

Describes a test output operation.

Since

6.0

Functions

Link copied to clipboard
abstract fun getDestination(): Destination
Describes whether the content was printed to the standard output or the standard error.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human consumable display name for the operation.
Link copied to clipboard
abstract fun getMessage(): String
The text printed by the test.
Link copied to clipboard
abstract fun getName(): String
Returns the name of the operation.
Link copied to clipboard
@Nullable
abstract fun getParent(): @Nullable OperationDescriptor
Returns the parent operation, if any.