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
Autoplay

Up next

Previous

About

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

Links
- Passive View
- Repository Pattern
- jUnit4
- Mockito

Comments

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

>
You need to go PRO to post comments.

Lessons in Android MVP Pattern