Slide 135
Slide 135 text
Kotlin Coroutines Library Testing
expect open class TestBase {
fun error(message: Any, cause: Throwable? = null): Nothing
fun expect(index: Int)
fun finish(index: Int)
fun runTest(
expected: ((Throwable) "-> Boolean)? = null,
unhandled: List<(Throwable) "-> Boolean> = emptyList(),
block: suspend CoroutineScope.() "-> Unit
)