Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9188

Add jacoco code coverage support to gradle build

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • general/build
    • None
    • New

    Description

      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)

      Attachments

        1. LUCENE-9188.patch
          5 kB
          Robert Muir
        2. report.png
          170 kB
          Robert Muir
        3. screenshot-1.png
          332 kB
          Uwe Schindler

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10h 10m
                  10h 10m