bld Extension to Generate Code Coverage Reports with JaCoCo https://github.com/rife2/bld-jacoco-report
Find a file
2023-08-10 22:23:30 -07:00
.github/workflows Added GitHub workflows 2023-08-10 21:51:07 -07:00
.idea Added jacoco.exec generation 2023-08-10 22:06:11 -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-10 22:03:54 -07:00
lib/bld Upgraded to RIFE2 1.7.0 2023-05-12 15:14:56 -07:00
src Added jacoco.exec generation 2023-08-10 22:06:11 -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 Updated description 2023-08-10 22:23:30 -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, CVS 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.