Series

Kotlin Coroutines Testing

In this 2 part series we will look at how to test coroutines and kotlin flow and some of the pitfalls that we can avoid with proper testing practices.

Articles in this series

[Part 1] Testing Coroutines and Kotlin Flows

Nov 20, 20216 min read

Testing coroutines in Kotlin can be tricky. Tests need to be setup correctly to avoid flakyness. In this tutorial you will learn how to write tests...

[Part 1] Testing Coroutines and Kotlin Flows
[Part 2] Testing Coroutines and Kotlin Flows