Summary

This chapter covered BDD concepts, BDD examples, and how we can write BDD-style tests with Mockito.

Now, you will be able to practice BDD and write BDD-style unit tests with Mockito.

The next chapter, Unit Testing the Legacy Code with Mockito, will cover the legacy code, testing impediments, design for testability, and unit testing the legacy code with Mockito.

Get Mockito Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.