You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/08/07 17:42:00 UTC

[jira] [Commented] (SOLR-18338) Enable jacoco for code coverage

    [ https://issues.apache.org/jira/browse/SOLR-18338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102875#comment-18102875 ] 

ASF subversion and git services commented on SOLR-18338:
--------------------------------------------------------

Commit db49e40825a5350283a7f6d8d660cd3e942cd0fc in solr's branch refs/heads/main from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=db49e40825a ]

SOLR-18338 Enable jacoco for code coverage (#4712)

Co-authored-by: David Smiley <ds...@apache.org>

> Enable jacoco for code coverage
> -------------------------------
>
>                 Key: SOLR-18338
>                 URL: https://issues.apache.org/jira/browse/SOLR-18338
>             Project: Solr
>          Issue Type: Improvement
>          Components: test-framework
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We did have code coverage support in solr earlier, but it did not survive the transition to gradle. Let's enable JaCoCo coverage in our build to make it easier to know where we have bad test coverage.
> This will also let us make stats for e.g. how good coverage in each module we get from plain unit tests vs Integration tests vs Nightly tests. This can in turn help guide which tests are safe to exclude from every test run, and of course guide developers to which new tests should be written.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org