Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 886 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 886 Bytes

MVVMTestingDemo

A simple app which fetches and shows products from REST API using retrofit. This project mainly demonstrates testing of different mvvm components.

Build with

Retrofit2: To fetch data from REST API.
Gson: For parsing JSON responses.
Coroutines: For asynchronous programming. Glide: To load images asynchronously.

Testing libraries used

JUnit4: For unit testing.
Mockito: To create mock object.
Okhttp3 MockWebServer: To create mock web server for testing API. Coroutine-Test: To test coroutine based functions.