This is an Android demo application to show how to better unit testing when using Architecture Components (ViewModel, LiveData & RxJava)
You can find the related article on my Medium : https://medium.com/@Phil_Boisney/how-to-better-unit-testing-42a956e005d6
This simple app is composed of a single screen. When this screen appears, we will fetch (Retrofit) the Github information of Jake Wharton.
This application implements the following concepts :
- ViewModel
- LiveData
- RxJava 2
- Dagger 2
- MockWebServer
- Android Support Library
- Android Architecture Components
- Dagger 2 for dependency injection
- RxJava 2 for composing asynchronous and event-based programs using observable sequences
- Retrofit for REST api communication
- Glide for image loading
- MockWebServer for testing HTTP clients