curioustechizen
04/22/2020, 8:22 AMrunBlockingTest
still JVM only? This is not obvious from the docs.
There's kotlinx.coroutines.test
module which is JVM only but it is obsolete and deprecated: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.test/index.html
Then, there's kotlinx-coroutines-test
module which is the replacement. And it doesn't mention any platform requirements. I did see something about ServiceLoader
in its docs so I'm not really sure.
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/