TestFailure

data class TestFailure<T>(val testCase: TestCase<T>, val cause: Throwable, val duration: Duration) : TestExecutionResult<T>

Represents a failed test execution with the cause of failure.

Report a problem

Constructors

Link copied to clipboard
constructor(testCase: TestCase<T>, cause: Throwable, duration: Duration)

Properties

Link copied to clipboard
Link copied to clipboard
open override val duration: Duration

The duration of the test execution.

Link copied to clipboard
open override val testCase: TestCase<T>

The test case associated with this execution.