Giter VIP home page Giter VIP logo

mvvm_clean_testing's Introduction

MVVM + Clean + Testing

Simple API implementation with MVVM + Clean Architecture and Unit, Integration & UI Test Cases (https://github.com/shubhamgangpuri/MVVM_Clean_Testing/tree/master)

Architecture Used :

MVVM + Clean

Android Jetpack Components Used :

  1. Jetpack Navigation
  2. Data Binding
  3. Coroutines
  4. RecyclerView
  5. ViewModel
  6. LiveData
  7. Constraint layout

Networking Library :

Retrofit2

Dependency Injection :

Dagger-Hilt

Testing Library :

  1. JUnit 4 (Unit test cases)
  2. Mockito (To create mock objects)
  3. Google truth library (For test assertions and error messages)
  4. Dagger-Hilt testing
  5. Espresso (For UI testing)

Covered functionalities :

  1. Splash Screen, Product List Screen
  2. Search functionality on product list screen
  3. Basic form validation applied.

Project package structure for main / test / androidTest

Screenshot 2022-03-22 at 18 58 25 Screenshot 2022-03-22 at 19 00 45

Data Flow diagram in MVVM + Clean Architecture

MVVM + Clean

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.