How use and test Kotlin Coroutines with MockK library

In these article we will understand how implement the new Kotlin coroutines and how test them with MockK library. I use these code in an Android project, but the principles are generic for all Kotlin project.

If you worked in past with RXJava you should understand the concept of Scheduler, a…