mpierucci / Android-Redux

Redux like unidirectional data flow architecture proposal
0 stars 0 forks source link

Integration Test Fix #11

Open mpierucci opened 2 years ago

mpierucci commented 2 years ago

It seems there is a bug in the coroutine test library that prevented testing suspended functions with external thread management.

This in conjunction with the suspendCoroutine implementation opted by this project ( to make callback Retrofit call API into coroutine friendly) broke Integration tests capabilities.

https://github.com/Kotlin/kotlinx.coroutines/pull/2978

Looks like something that could fix that, so once released check it out and re-enable integration tests.

PS: It also forces repository unitest to run with runBlocking which is bad if delays and such start being implemented