Leave a rating/review
Integration tests check how different parts on your application work together to achieve a common goal. This includes the Android framework or even external dependencies.
They are the second level of our testing pyramid which means you should try to cover as much as you can with unit tests before creating your integration tests. Having said that, don’t worry about creating as much integration tests as you need, just keep in mind that it takes longer to execute them since they usually need an emulator to run.
In this section you are going to be building on a fun wishlist app which takes cared of creating wishlist ideas for all your friends and loved ones.
Open the starter project for this episode and wait until android studio finishes syncing your project. Then take some time to familiarize yourself with the project.
The details you need to be familiar with are the DetailViewModel class which is the class that we are going to be testing in this episode and the next ones.
You also need to be familiar with the repository interface and the repository implementation since this is the class that we are going to be using to save data later on.