russhwolf
12/27/2018, 1:54 AMktor-client-mock
and runBlocking
in unit tests are now fixed with ktor 1.1.1 and coroutines 1.1.0. Thanks Kotlin team!
So here’s finally my demo project which make live calls in the production app but has unit tests using the mock client: https://github.com/russhwolf/ktor-demo