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.

TestExecutionException

Thrown when the org.gradle.tooling.TestLauncher cannot run tests, or when one or more tests fail.

Since

2.6

Constructors

Link copied to clipboard
constructor(message: String, throwable: Throwable)
Creates a new TestExecutionException.
constructor(message: String, throwable: Throwable, failures: Supplier<List<Failure>>)
Constructor.
constructor(message: String)
Creates a new TestExecutionException.

Properties

Link copied to clipboard
open val cause: Throwable
Link copied to clipboard

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
The list of failures that occurred during the build.
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun toString(): String