Summary

In this chapter, we discussed the testing and reporting aspects of Gradle. We started our discussion with TestNG and also discussed how we can configure Gradle to support the integration test cases separate from unit test cases. Then, we discussed code coverage with JaCoCo and, finally, we talked about Sonar integration with Gradle.

In the next chapter, we will discuss how to organize the build logic in build scripts and plugins. We'll explore how to modularize plugin code so that it can be shared across multi-project Gradle build. We'll also explore how to create a custom plugin in Gradle.

Get Gradle 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.