Sign in Go Pro

The 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

Previous

About

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. Links - [Passive View](http://martinfowler.com/eaaDev/PassiveScreen.html) - [Repository Pattern](http://martinfowler.com/eaaCatalog/repository.html) - [jUnit4](http://junit.org/junit4/) - [Mockito](http://mockito.org/)

Lessons in The Android MVP Pattern