The Frontier logo The Frontier logo
Brian Gardner

Mocking Basics

Brian Gardner | Mar 19, 2018

Let's learn the basics of using mocking in your tests. Unit testing your classes helps ensure that they work correctly based on controlled inputs but doing the setup can be painful if you have a lot of dependencies.

In this video, we’ll show you how to create mock objects using Mockito to simplify your testing setup and improve the readability of your tests.

Basic knowledge or experience building Android applications is recommended. Viewers should be familiar with running unit tests and mock objects

For the More Curious...

Mock vs. Spy - Part 2
Building Effective Unit Tests
Mockito | GitHub
BNR Guide to Android
Android & Kotlin Courses

Subscribers Only

Looks like you don't have an acocunt. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Looks like you don't have an acocunt. Create an account today to access our collection of screencasts, skill packs, and more.

Need Help?

Have questions about this screencast? Start a discussion with our nerds in the community tab.