Unit Testing ViewModel
12 Sep 2019
This post describes how to Unit Test the ViewModel in MVVM. If you don’t know what MVVM is, please read Basic MVVM in Android first. Why Write Unit Test? It will help you to structure the code and you can tested it before writing the View. You can also create fake Models and create the View without any need for a connection to a database or a server. You can prevent to break the code in the future.
Read More »