Unit Testing
Unit Testing
Unit testing involves testing individual components (like functions, classes, or methods) of your app in isolation to ensure they work as expected. In Android, unit tests typically run on the JVM (not the device) using frameworks like JUnit and Mockito, allowing for fast and reliable testing of business logic without needing the Android framework.
In this video we will setup our project such that it is ready to do Unit Testing.
In this video we will do the Unit Testing of our project's repository.
In this video we will do the Unit Testing of our project's viewmodel.