// TODO: error mainthread looper, i still don't know how to fix it /* TODO: reference: - https://proandroiddev.com/testing-kotlin-coroutines-d904738b846d - Kotlin/kotlinx.coroutines#184 - https://stackoverflow.com/questions/48118986/when-using-kotlin-coroutines-how-do-i-unit-test-a-function-that-calls-a-suspend - mockito/mockito-kotlin#247 - Kotlin/kotlinx.coroutines#102 - Kotlin/kotlinx.coroutines#568 - https://stackoverflow.com/questions/48694449/error-with-room-dao-class-when-using-kotlin-coroutines - https://medium.com/@kyle.dahlin0/room-persistence-library-with-coroutines-cdd32f9fe669 - InsertKoinIO/koin#152 - https://medium.com/@aungkyawpaing/di-with-koin-bedd402d538a - https://medium.com/mindorks/using-dependency-injection-with-koin-bee0b461714a - https://discuss.kotlinlang.org/t/unit-testing-coroutines/6453/2 - https://stackoverflow.com/questions/46546774/clean-coroutines-usage-in-kotlin-with-unit-test-support - https://stackoverflow.com/questions/48118986/when-using-kotlin-coroutines-how-do-i-unit-test-a-function-that-calls-a-suspend - https://stackoverflow.com/questions/47171302/unit-testing-a-kotlin-coroutine-with-delay/49078296#49078296 - https://medium.com/@tonyowen/android-kotlin-coroutines-unit-test-16e984ba35b4
Created
May 12, 2019 17:54
-
-
Save mochadwi/f7d6a7c984358a176a1b9b33af78d5f7 to your computer and use it in GitHub Desktop.
Android - Kotlin Coroutine Unit Test Troubleshooting
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment