bld Extension to Generate Code Coverage Reports with JaCoCo https://github.com/rife2/bld-jacoco-report
Find a file
2023-08-12 14:44:31 -07:00
.github/workflows Added GitHub workflows 2023-08-10 21:51:07 -07:00
.idea Added destFile to set the file to write execution data to 2023-08-11 22:31:51 -07:00
.vscode Upgraded to RIFE2 1.7.0 2023-05-12 15:14:56 -07:00
config Initial commit 2023-04-30 14:27:22 -07:00
examples Minor cleanup 2023-08-12 14:44:31 -07:00
lib/bld Upgraded PMD extension 2023-08-11 16:35:21 -07:00
src Added more logging 2023-08-12 00:59:54 -07:00
.gitignore Initial commit 2023-04-30 14:27:22 -07:00
bld Initial commit 2023-04-30 14:27:22 -07:00
bld.bat Initial commit 2023-04-30 14:27:22 -07:00
LICENSE.txt Initial commit 2023-04-30 14:27:22 -07:00
README.md Added more logging 2023-08-12 00:59:54 -07:00
update-test-resources.sh Minor cleanup 2023-08-12 14:44:31 -07:00

Bld Extension to Generate Code Coverage Reports with JaCoCo

License Java Release Snapshot GitHub CI

To run the tests and generate the code coverage reports:

@BuildCommand(summary = "Generates Jacoco Reports")
public void jacoco() throws IOException {
    new JacocoReportOperation()
            .fromProject(this)
            .execute();
}
./bld compile jacoco
  • The HTML, CSV and XML reports will be automatically created in the build/reports/jacoco/test directory.
  • The execution coverage data will be automatically recorded in the build/jacoco/jacoco.exec file.

Please check the JacocoReportOperation documentation for all available configuration options.