Skip to content

Add JaCoCo coverage and a requirements map of the SDK - #264

Closed
petebids wants to merge 2 commits into
cerbos:mainfrom
petebids:reqmap-coverage
Closed

petebids wants to merge 2 commits into
cerbos:mainfrom
petebids:reqmap-coverage

Conversation

@petebids

Copy link
Copy Markdown

Apply the jacoco plugin so every test run writes XML and HTML reports, limited to dev.cerbos.sdk so the classes generated from protos don't count.

.reqmap holds a requirements model of the SDK (Hub excluded) with each requirement citing the code that implements it and the tests that check it, plus a gap report. .reqmap/raw/per_test.sh re-runs coverage one test method at a time so the map knows which test ran which line.

Description

Fixes #

Checklist

  • PR is linked to the corresponding issue
  • All commits are signed-off (git commit -s ...) to provide the DCO

Pete Bidstrup and others added 2 commits September 28, 2026 15:33
Apply the jacoco plugin so every test run writes XML and HTML reports,
limited to dev.cerbos.sdk so the classes generated from protos don't
count.

.reqmap holds a requirements model of the SDK (Hub excluded) with each
requirement citing the code that implements it and the tests that check
it, plus a gap report. .reqmap/raw/per_test.sh re-runs coverage one test
method at a time so the map knows which test ran which line.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: petebids <52898458+petebids@users.noreply.github.com>
@petebids petebids closed this Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant