Shopping-UnitTesting is a simple Android application for creating a list of shopping items that need to be purchased and storing them in a Room database. It utilizes Kotlin, Navigation UI, Coroutines, Hilt Dependency Injection, MVVM architecture, Room Database, Unit Testing, and the PixaBay API for fetching images of the items. The main focus of this repository is on demonstrating best practices for unit testing in Android applications.
- Kotlin
- Navigation UI
- Coroutines
- Hilt Dependency Injection
- MVVM
- Room Database
- Unit Testing
- PixaBay API
Shopping-UnitTesting provides examples of how to effectively write unit tests in an Android application.
- Clone the repository: git clone https://github.com/rahulgothwal5/Shopping-UnitTesting.git
- Open the project in Android Studio.
Explore the codebase to learn how to write effective unit tests for Android applications. The app demonstrates unit testing practices using Kotlin, Coroutines, Hilt Dependency Injection, MVVM architecture, and Room Database. Additionally, it showcases the integration of the PixaBay API for fetching images of shopping items.
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Create a new Pull Request.
This project is licensed under the MIT License.