Sign in Go Pro

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

- Passive View
- Repository Pattern
- jUnit4
- Mockito




There are no comments on this lesson, start the conversation below ...


Lessons in Android MVP Pattern