Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ability to change viewModelScope dispather for multiplatform tests #113

Closed
Alex009 opened this issue Mar 16, 2021 · 0 comments · Fixed by #116
Closed

Provide ability to change viewModelScope dispather for multiplatform tests #113

Alex009 opened this issue Mar 16, 2021 · 0 comments · Fixed by #116
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Alex009
Copy link
Member

Alex009 commented Mar 16, 2021

In android we can use
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/-test-coroutine-dispatcher/
with
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/kotlinx.coroutines.-dispatchers/set-main.html
for unit tests of ViewModel, but on ios it not available, so we should provide own way to set test dispatcher

@Alex009 Alex009 added the enhancement New feature or request label Mar 16, 2021
@Alex009 Alex009 added this to the 0.10.0 milestone Mar 16, 2021
@Alex009 Alex009 self-assigned this Mar 16, 2021
Alex009 added a commit that referenced this issue Mar 20, 2021
Alex009 added a commit that referenced this issue Mar 20, 2021
@Alex009 Alex009 linked a pull request Mar 20, 2021 that will close this issue
Alex009 added a commit that referenced this issue Mar 20, 2021
@Alex009 Alex009 mentioned this issue Mar 20, 2021
3 tasks
@Alex009 Alex009 closed this as completed Mar 21, 2021
@Alex009 Alex009 mentioned this issue Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant