Skip to content

Add a JaCoCo IntelliJ run configuration template - #1567

Open
labkey-jeckels wants to merge 2 commits into
developfrom
fb_review_coverage_tooling
Open

labkey-jeckels wants to merge 2 commits into
developfrom
fb_review_coverage_tooling

Conversation

@labkey-jeckels

Copy link
Copy Markdown
Contributor

Rationale

This PR lets developers run their local server with the JaCoCo agent from a ready-made IntelliJ run configuration, so server-side JUnit tests can report code coverage without hand-editing VM options.

Related Pull Requests

Changes

  • ijConfigure fetches the JaCoCo agent (version pinned in gradle.properties) into the build directory
  • New "Spring Boot LabKey Embedded Tomcat Dev (JaCoCo)" run configuration template: the Spring Boot dev configuration plus the agent, serving coverage on a local port

ijConfigure now fetches the JaCoCo agent and installs a copy of the Spring Boot dev configuration that runs the server with it, so tests can collect coverage without hand-editing VM options.
@labkey-jeckels labkey-jeckels self-assigned this Nov 29, 2026
ijRunConfigurationsSetup alone no longer leaves the JaCoCo configuration without its agent, and IntelliJ's re-saved copy of that configuration is ignored.
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