TestEnvironment
open class TestEnvironment(names: List<String>, testLocation: TestLocation = TestLocation.get()) : TestEnvironment, TrimmedAsserts(source)
Functions
Link copied to clipboard
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
Asserts that the provided File has the expected text after reading it and using relative paths.
Link copied to clipboard
Link copied to clipboard
replace absolute paths with relative ones