[
https://issues.apache.org/jira/browse/SOLR-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll updated SOLR-479:
---------------------------------
Attachment: SOLR-479.patch
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
{code}
ant -Drun.clover=true clean clover test generate-clover-reports
{code}
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.
> Solr Test code coverage
> -----------------------
>
> Key: SOLR-479
> URL: https://issues.apache.org/jira/browse/SOLR-479
> Project: Solr
> Issue Type: New Feature
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Attachments: SOLR-479.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.