TestCoroutineScope
A scope which provides detailed control over the execution of coroutines for tests.
This scope is deprecated in favor of TestScope. Please see the migration guide for an instruction on how to update the code for the new API.
Functions
Called after the test completes.
Properties
Extensions
Advances the testScheduler by delayTimeMillis and runs the tasks up to that moment (inclusive).
Advances the testScheduler to the point where there are no tasks remaining.
The current virtual time on testScheduler.
Convenience method for calling runBlockingTest on an existing TestCoroutineScope.
Run any tasks that are pending at the current virtual time, according to the testScheduler.
Runs a test in a TestCoroutineScope based on this one.
List of uncaught coroutine exceptions, for backward compatibility.