CoroutineTestInterceptor

Intercepts the execution of a test function, including its @BeforeTest and @AfterTest functions.

Test functions must make a single call to kotlinx.coroutines.test.runTest in their test body.

Functions

Link copied to clipboard
abstract suspend fun intercept(testFunction: CoroutineTestFunction)