gradle
8.5

# TestFailure

@Incubating
interface TestFailure : Failure(source)

Describes a test failure, that can either be a test assertion failure or a test framework failure.

#### Inheritors

TestAssertionFailure
TestFrameworkFailure

## Functions

getCauses
Link copied to clipboard
abstract fun getCauses(): List<out Failure>
getClassName
Link copied to clipboard
abstract fun getClassName(): String
The fully-qualified name of the underlying exception type.
getDescription
Link copied to clipboard
abstract fun getDescription(): String
getMessage
Link copied to clipboard
abstract fun getMessage(): String
getStacktrace
Link copied to clipboard
abstract fun getStacktrace(): String
The stringified version of the stacktrace created from the underlying exception.