Skip to content

ci: publish test results and track test coverage over time - #573

Merged
SJrX merged 1 commit into
242.xfrom
ci/test-coverage
Oct 27, 2026
Merged

SJrX merged 1 commit into
242.xfrom
ci/test-coverage

Conversation

@SJrX

@SJrX SJrX commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Publish JUnit results from both test stages and record JaCoCo coverage with the Jenkins Coverage plugin, in post always blocks so failing tests still land in the trends. Coverage is informational: a reporting problem marks the build unstable instead of failing it and blocking the release.

Gradle gets the built-in jacoco plugin with an XML report. The IntelliJ test framework loads classes through its own class loaders, so the test task sets includeNoLocationClasses (and excludes jdk.internal), and the generated lexer/parser/PSI code is left out of the report. Locally this measures about 94% line and 77% branch coverage.

Publish JUnit results from both test stages
and record JaCoCo coverage with the Jenkins Coverage plugin, in post
always blocks so failing tests still land in the trends. Coverage is
informational: a reporting problem marks the build unstable instead of
failing it and blocking the release.

Gradle gets the built-in jacoco plugin with an XML report. The IntelliJ
test framework loads classes through its own class loaders, so the test
task sets includeNoLocationClasses (and excludes jdk.internal), and the
generated lexer/parser/PSI code is left out of the report. Locally this
measures about 94% line and 77% branch coverage.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@SJrX
SJrX merged commit 10889e8 into 242.x Oct 27, 2026
2 of 3 checks passed
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