TrimmedAsserts
Contains wrappers for Kotest's assertions which catch AssertionErrors and clean up stack traces before rethrowing.
Inheritors
Functions
Link copied to clipboard
Delegates to Kotest's shouldBe, but removes all the noise at the beginning of a stacktrace, like:
A special String-only version of shouldBe
which calls trimIndent
first.
Treat sequences like lists when asserting.
Link copied to clipboard
An alternative to the overloaded String-only shouldBe
, since the overloaded version automatically applies trimIndent
.
Link copied to clipboard
reads the file's text and asserts
Link copied to clipboard