Learn how to test SharedPreferences in your Android app using Dagger and Espresso. This course gives you a good understanding of using dependency injection with Dagger to write predictable and repeatable tests.
The sample app is written with Dagger 2 and Espresso 2.2, and the source code is included.
Table of content
1. Persistence with SharedPreferences
2. The sample app
3. Dagger overview
4. Application component
5. Test component
6. Using Dagger in app and test
7. Espresso tests
9. Old video for Using Dagger in app and test
8 videos + source code