TestCoroutineRule

fun TestCoroutineRule(factory: () -> TestProvidedCoroutineScope = { TestProvidedCoroutineScope() })

Parameters

factory

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