Suite • opensavvy.prepared.suite • launch
launch
fun TestDsl.launch(context: CoroutineContext = EmptyCoroutineContext, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> Unit): Job
Starts a task in the foregroundScope. The test will wait for this task before finishing.
By default, tasks started are run sequentially. To execute tasks in parallel, explicitly use a CoroutineDispatcher.
The task will respect the controlled time.