[ https://issues.apache.org/jira/browse/LUCENE-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036404#comment-17036404 ]
Michael Sokolov commented on LUCENE-9188: ----------------------------------------- Thanks for this, [~rcmuir]. I find code coverage helpful when adding new code since it helps you check if you forgotten to write a useful test. In the past I have used IDE's support for it, but it's great to have this option. We don't run tests in GitHub today so we? I suppose if we did this could help with code reviews too > Add jacoco code coverage support to gradle build > ------------------------------------------------ > > Key: LUCENE-9188 > URL: https://issues.apache.org/jira/browse/LUCENE-9188 > Project: Lucene - Core > Issue Type: Task > Components: general/build > Reporter: Robert Muir > Priority: Major > Attachments: LUCENE-9188.patch, report.png > > > Seems to be missing. I looked into it a little, all the documented ways of > using the jacoco plugin seem to involve black magic if you are using "java" > plugin, but we are using "javaLibrary", so I wasn't able to hold it right. > This one should work very well, it has low overhead and should work fine > running tests in parallel (since it supports merging of coverage data files: > that's how it works in the ant build) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org