Sign in Go Pro

Mockito

A Guide to Writing Testable Code

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next

Previous

About

This lesson describes how code should be structured to allow the full power of Mockito to be harnessed.

In this lesson you will learn:

How to make code more testable
Mockito can’t help us test if the code isn’t structured well in the first place
Taking control of dependencies using dependency injection
The problems caused when a class creates its own dependencies

Instructor

Links

Comments

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

>
You need to go PRO to post comments.

Lessons in Mockito