CoroutineTestExtension

fun CoroutineTestExtension(scopeFactory: CoroutineTestExtension.ScopeFactory = ScopeFactory())

Parameters

scopeFactory

optional factory for a custom TestProvidedCoroutineScope. If a factory is not provided, the resultant scope uses the same TestCoroutineDispatcher for each property in its TestDispatcherProvider

Sources

Link copied to clipboard