Android MVP Pattern
Code Coverage with Android Studio
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(…)
andnever
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
Instructor
Links
Comments
Lessons in Android MVP Pattern
1. The MVP Pattern Explained
Pro
09:30
2. Building the View

Pro
09:02
3. Wiring up the Presenter

Pro
15:10
4. Writing FAST jUnit JVM Tests with Mockito

Pro
09:12
5. Code Coverage with Android Studio

Pro
10:04
6. Getting to 100% Code Coverage

Pro
12:02
7. Removing Lifecycle Events from the Presenter

Pro
10:31
8. Comprehensive Testing & the ViewNotFoundException

Pro
08:22

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty