Book Image

Mastering Unit Testing Using Mockito and JUnit

By : Sujoy Acharya
Book Image

Mastering Unit Testing Using Mockito and JUnit

By: Sujoy Acharya

Overview of this book

Table of Contents (17 chapters)
Mastering Unit Testing Using Mockito and JUnit
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, Mockito is described in detail and technical examples are provided to demonstrate the capability of Mockito.

By the end of this chapter, you will be able to use advanced features of the Mockito framework, and start BDD with Mockito.

The next chapter will explain the importance of code coverage, line and branch coverage, how to measure code coverage, Eclipse plugins, setting up Cobertura, and generating coverage report using Ant, Gradle, and Maven.