TestDispatcher: Become the Clock Master | by Michał Klimczak | Jun, 2022

A deep dive into the subtleties of testing Kotlin coroutines. Photo by Matteo Vella on Unsplash Even if you are fluent in Kotlin coroutines, you might still find it difficult to test them. Concurrency is just inherently hard to reason about, especially if you’re aiming for 100% deterministic behavior, which is necessary in testing. Kotlin … Read more