Sign in Go Pro

The Android MVP Pattern

Getting to 100% Code Coverage

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



In this Lesson you will learn: - How to expect exceptions to be thrown during the execution of a test - How to use the built in Android Studio Code Coverage Tools - How to get to 100% Code Coverage - Why 100% Code Coverage does not mean your code is perfect; there can still be bugs! - How and why the verify call needs a time(n) value when methods are called multiple times - How field variables in a test can be used as a pass through to verify presenter actions on the model Links - [Passive View]( - [Repository Pattern]( - [jUnit4]( - [Mockito](

Lessons in The Android MVP Pattern