Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Use of TestCoroutineContext in tests #9

Open
etonotieno opened this issue Oct 25, 2018 · 3 comments
Open

Use of TestCoroutineContext in tests #9

etonotieno opened this issue Oct 25, 2018 · 3 comments

Comments

@etonotieno
Copy link

No description provided.

@etonotieno
Copy link
Author

In the tests that use coroutines with delay is it possible to use TestCoroutineContext so that there's no need to change the method signature to include the delay time. This approach can be used as we wait for integration with structured concurrency #410 and issue #541

@etonotieno etonotieno changed the title Use of Use of TestCoroutineContext in tests Oct 25, 2018
@objcode
Copy link
Contributor

objcode commented Oct 29, 2018

Thanks!

This looks promising and as Kotlin/kotlinx.coroutines#541 we should integrate it.

@objcode
Copy link
Contributor

objcode commented Dec 7, 2018

Also tracking Kotlin/kotlinx.coroutines#810 to update tests to run outside of instrumentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants