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.

failed

open fun failed(endTime: Instant)(source)

Emit a failure event for the test. May not be called before started.

Since

8.12

Parameters

endTime

the time the test completed


open fun failed(endTime: Instant, message: String)(source)

Emit a failure event for the test. May not be called before started.

Since

8.12

Parameters

endTime

the time the test completed

message

the failure message


abstract fun failed(endTime: Instant, message: String, additionalContent: String)(source)

Emit a failure event for the test. May not be called before started.

Since

8.12

Parameters

endTime

the time the test completed

message

the failure message

additionalContent

additional content for the failure, like a stacktrace