Functions Used in Testing Kotlin Coroutines

Discover more functions used while testing Kotlin coroutines.

Schedular property

The StandardTestDispatcher function creates TestCoroutineScheduler by default, so we don’t need to do so explicitly. We can access it with the scheduler property.

Get hands-on with 1200+ tech skills courses.