coroutines How to test a time-dependent coroutine Check two approaches to test kotlin coroutines code depending on time.
mocking Mocking and stubbing suspend functions with MockK How to easily stub or mock suspend function in Kotlin? MockK is the solution. See MockK examples for mocking coroutines.