Sign in Go Pro

Android MVP Pattern

Writing FAST jUnit JVM Tests with Mockito

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 write insanely fast unit tests within Android Studio with jUnit 4 and Mockito
  • How to create mock objects with mockito
  • How to create a simple mock interaction behavior
  • How to completely decouple your presenter for test with no dependencies on Android, internet, databases and the like through mock objects and interfaces
  • How to mock the repository layer
  • How to mock the view layer
  • What the @Before annotation in jUnit 4 is for and how it works

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