Sign in Go Pro

Android MVP Pattern

Code Coverage with Android Studio

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 use the mockito when method to return values for given mock interactions
  • How to use the verify method to verify interactions on a mock
  • How to use the times(…) and never method to verify that mock methods were (or were not) interacted with during the execution of the test
  • How to use the built in Android Studio Code Coverage Tools
  • What the difference between class, method and line coverage is
  • How to find code paths that are and are not covered under test with the built in code coverage tools

- Passive View
- Repository Pattern
- jUnit4
- Mockito




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


Lessons in Android MVP Pattern