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


This chapter explained the static code analysis and code quality attributes in depth. It covered the SonarQube code quality dashboard, static code analysis using Eclipse plugins, the Sonar runner and build scripts such as Ant, Maven, and Gradle, and code quality tools such as PMD, Checkstyle, and FindBugs.

By now, the reader will be able to configure the Sonar dashboard, set up Eclipse plugins, and configure Sonar runner and build scripts to analyze code quality using PMD, FindBugs, and Checkstyle.

The next chapter will cover the unit testing web tier code with mock objects.