Skip to content

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

Notifications You must be signed in to change notification settings

sDevPrem/MVVMTestingDemo

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages