DEV Community

Cover image for Introduction to unit testing ViewModel with Kotlin Coroutine & Flow
Raksha for Canopas Software

Posted on

Introduction to unit testing ViewModel with Kotlin Coroutine & Flow

Learn how to write unit test of ViewModel which has kotlin coroutine.

In this post, we’re not going to cover any UI-related and business logic of networking calls.

We have created a Sealed class to manage the state of our main screen in a very simple way.

You can read full article: https://blog.canopas.com/introduction-to-unit-testing-viewmodels-with-kotlin-coroutine-367630e95831

Top comments (0)