image

MyProduct

A simple application based on the provided case study.

Overview

This application is developed using various technologies and libraries, Coroutine and Dagger Hilt.

Architecture

A simple application based on the provided case study, implementing the Model-View-ViewModel (MVVM) architecture along with the repository pattern. The MVVM architecture promotes a separation of concerns, enhancing code maintainability and testability. Additionally, the repository pattern is employed to manage data access, providing a centralized and organized approach to handling data retrieval and storage.

Unit testing with mockk

This application employs the MockK library for unit testing to ensure robust and reliable code. The use of MockK facilitates the creation of mock objects, allowing for isolated testing of individual components. This approach enhances the overall quality of the application by verifying the correctness of each unit of code.

image

UI Testing with Esporesso

Incorporating Espresso for UI testing, this application ensures the seamless functionality of its user interface. Espresso simplifies the process of creating UI tests by providing a concise and expressive API. The tests focus on verifying the correct behavior of the app's UI components, guaranteeing a smooth and responsive user experience.

image

The image above showcases the integration of Espresso into the testing suite, highlighting its role in validating the UI components. This approach enhances the overall quality of the application, confirming that the user interface behaves as expected under various scenarios.

Test Video

https://drive.google.com/file/d/1La-oDrEMGNwZ3jZmg8ZOeFYfoxAeaz1N/view?usp=sharing

APK

https://drive.google.com/file/d/14cX1O4UufXwFF1XG18J8RCkqwe4EcWMm/view?usp=drive_link

Contribution

We welcome contributions from the developer community. If you would like to contribute to this project, please open a new issue or submit a pull request.