CoroutineTimeout
Defines for how long nothing is allowed to happen before the test is automatically stopped.
Note that this only applies to nothing happening in the coroutine dispatcher managed by the Coroutines system: launch, launchInBackground, etc.
For example, this test never finishes, but will not be stopped by this timeout, because coroutines are still being executed:
while(true) {
delay(1000)
}
Content copied to clipboard
Properties
Link copied to clipboard
The coroutine context configured for this test through the Context configuration.
Link copied to clipboard
The identifier for this test configuration element.
Functions
Link copied to clipboard
operator fun <E : TestConfig.Element> TestConfig.get(key: TestConfig.Key<E, TestConfig.Uniqueness.Multi>): List<E>
Finds the elements identified by key in the current TestConfig.
operator fun <E : TestConfig.Element> TestConfig.get(key: TestConfig.Key<E, TestConfig.Uniqueness.Unique>): E?
Finds the Element identified by key in the current TestConfig.
Link copied to clipboard
Combines two TestConfig instances.