Book Image

Mockito Essentials

By : Sujoy Acharya
Book Image

Mockito Essentials

By: Sujoy Acharya

Overview of this book

Table of Contents (14 chapters)

Chapter 4. Behavior-driven Development with Mockito

"Computer science is no more about computers than astronomy is about telescopes."

– Edsger Dijkstra

This chapter explores Behavior-driven Development (BDD) and how BDD can help you minimize project failure risks. The following topics are covered in this chapter:

  • Understanding the context of BDD

  • Exploring BDD

  • Exercising BDD with Mockito