Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      The ASF has a donated license of Clover test coverage. Would be useful to have some ANT targets that calculate test coverage. See Lucene Java's implementation.

      1. SOLR-479.patch
        3 kB
        Grant Ingersoll

        Issue Links

          Activity

          Hide
          Grant Ingersoll added a comment -

          Slurped Lucene J's clover test coverage handling into Solr's build system.

          For a sample of the output, see http://people.apache.org/~gsingers/solr-clover/reports/

          Note, you must have the clover.jar and clover license in your ANT lib for this to work. These are available for any Solr committer but are not available to the general public.

          I ran

          ant -Drun.clover=true clean clover test generate-clover-reports
          

          to generate the link above. Clover will not be run by default. It probably would be useful to hook this into the nightly build, but you have to be careful to make sure the instrumented files don't get shipped in the release.

          Show
          Grant Ingersoll added a comment - Slurped Lucene J's clover test coverage handling into Solr's build system. For a sample of the output, see http://people.apache.org/~gsingers/solr-clover/reports/ Note, you must have the clover.jar and clover license in your ANT lib for this to work. These are available for any Solr committer but are not available to the general public. I ran ant -Drun.clover= true clean clover test generate-clover-reports to generate the link above. Clover will not be run by default. It probably would be useful to hook this into the nightly build, but you have to be careful to make sure the instrumented files don't get shipped in the release.
          Hide
          Grant Ingersoll added a comment -

          Committed revision 629340.

          Show
          Grant Ingersoll added a comment - Committed revision 629340.
          Hide
          Hoss Man added a comment -

          This bug was modified as part of a bulk update using the criteria...

          • Marked "Resolved" and "Fixed"
          • Had no "Fix Version" versions
          • Was listed in the CHANGES.txt for 1.3 as of today 2008-03-15

          The Fix Version for all 29 issues found was set to 1.3, email notification was suppressed to prevent excessive email.

          For a list of all the issues modified, search jira comments for this (hopefully) unique string: batch20070315hossman1

          Show
          Hoss Man added a comment - This bug was modified as part of a bulk update using the criteria... Marked "Resolved" and "Fixed" Had no "Fix Version" versions Was listed in the CHANGES.txt for 1.3 as of today 2008-03-15 The Fix Version for all 29 issues found was set to 1.3, email notification was suppressed to prevent excessive email. For a list of all the issues modified, search jira comments for this (hopefully) unique string: batch20070315hossman1

            People

            • Assignee:
              Grant Ingersoll
              Reporter:
              Grant Ingersoll
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development