class SystemOutWireListener : TestListener
A Kotest listener that facilities testing writes to standard out, by redirecting any data written to standard out to an internal buffer.
Users can query the written data by fetching the buffer by invoking output.
tee - If true then any data written to standard out will be captured as well as written out.
If false then the data written will be captured only.
<init> |
A Kotest listener that facilities testing writes to standard out, by redirecting any data written to standard out to an internal buffer. SystemOutWireListener(tee: Boolean = true) |
afterTest |
suspend fun afterTest(testCase: TestCase, result: TestResult): Unit |
beforeTest |
suspend fun beforeTest(testCase: TestCase): Unit |
output |
fun output(): String |