Jacoco Plugin Integration With Spring Boot Application
Jacoco: The Jacoco is a plugin which is implemented in Java. This Jacoco plugin helps developer to generate the test report with code coverage to provide more quality and securable code. Jacoco will generate a report that how many numbers of lines of code executed / not executed. Download Jacoco plugin: Downloading and installing the Jacoco plugin is very easy. Just add a below plugin in the build.gradle file of the parent project , apply plugin: 'jacoco' Need to add the same command in the build.gradle file of each module to generate the code coverage report. Also, add below lines of script in all build.gradle files of all modules, test { finalizedBy jacocoTestReport } jacocoTestReport { reports { xml.enabled true ...