CoroutineTest

interface CoroutineTest

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
abstract val testScope: TestScope

Functions

Link copied to clipboard
fun CoroutineTest.runTest(timeout: Duration? = defaultTimeout, testBody: suspend TestScope.() -> Unit): TestResult
fun <T> CoroutineTest.runTest(timeout: Duration? = defaultTimeout, setup: suspend TestScope.() -> T, testBody: suspend TestScope.(T) -> Unit): TestResult
Link copied to clipboard
fun CoroutineTest.scheduleSetup(block: ScheduledTaskLambda)
Link copied to clipboard
fun CoroutineTest.scheduleTeardown(block: ScheduledTaskLambda)
Link copied to clipboard
fun <T> CoroutineTest.suspendLazy(block: suspend TestScope.() -> T): LazySuspend<T>