object Failures
Handles creation of errors and cleaning of stack traces.
shouldRemoveKotestElementsFromStacktrace |
Whether Kotest-related frames will be removed from the stack traces of thrown AssertionErrors. var shouldRemoveKotestElementsFromStacktrace: Boolean |
clean |
JVM only: If shouldRemoveKotestElementsFromStacktrace is fun clean(throwable: Throwable): Throwable |
failure |
Creates an AssertionError with the given message and cause fun failure(message: String): AssertionErrorfun failure(message: String, cause: Throwable?): AssertionErrorfun failure(message: String, expectedRepr: String, actualRepr: String): Throwable |