Sign in Go Pro

Android MVP Pattern

Comprehensive Testing & the ViewNotFoundException

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson



In this Lesson you will learn:

  • How to test for when your view is not found without relying on NullPointerExceptions
  • Make your tests more robust
  • Why 100% code coverage is just a metric and does not represent test quality
  • How to develop new features such as the ViewNotFoundException as well as the null checking all using TDD.

- Passive View
- Repository Pattern
- jUnit4
- Mockito


Hmm I was expecting more info on MVP but instead got a lot of testing logic of MVP. Maybe the lesson title should be testing MVP.

You need to go PRO to post comments.

Lessons in Android MVP Pattern