testSuiteCoroutineScope

val testSuiteCoroutineScope: CoroutineScope(source)

The test suite's CoroutineScope, valid only during the suite's execution.

Use testSuiteCoroutineScope to launch additional coroutines in test fixtures. Such coroutines must complete or be canceled explicitly when their fixture closes. The test suite execution will wait for coroutines in testSuiteCoroutineScope to finish before completing.