Skip to content

Pavneet-Sing/MVP-with-Testing

Repository files navigation

MVP Testing

Model-View-Presenter is one of the famous architecture (next to MVVM, MVI). MVP separates the implementation of logic/data handling in presenter and keep the view clean without, responsible for only updating the UI. Model is a mere representation of data entities, manipulated by presenter.

Unit testing for MVP requires testing techniques to capture the data and handle the callbacks so this repository demonstrates the use of mockito framework to implement unit testing in MVP architecture.

MVP and test

  • Model View Presenter
  • Repository pattern
  • Unit testing
  • Espresso UI testing
  • RecyclerView, CardView, Customize adapter

mvp demo

License

MIT

About

A MVP based application along with incorporated testing mechanisms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages