Package io.ktor.test.dispatcher

Functions

testSuspend
Link copied to clipboard
expect fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> Unit)

Test runner for common suspend tests.

actual fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> Unit)

Test runner for jvm suspend tests.

actual fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> Unit)

Test runner for native suspend tests.

actual fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> Unit)

Test runner for native suspend tests.