You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/08 09:55:00 UTC
[jira] [Commented] (ZOOKEEPER-2955) Enable Clover code coverage
report
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315983#comment-16315983 ]
ASF GitHub Bot commented on ZOOKEEPER-2955:
-------------------------------------------
GitHub user mfenes opened a pull request:
https://github.com/apache/zookeeper/pull/443
ZOOKEEPER-2955: Enable Clover code coverage report
ZOOKEEPER-2955: Enable Clover code coverage report
This PR configures OpenClover to generate Java code coverage reports.
To enable OpenClover run the following ant targets with -Drun.clover=true:
ant -Drun.clover=true jar
ant -Drun.clover=true test
and then to generate the code coverage reports run:
ant -Drun.clover=true generate-clover-reports
The reports will be generated under the build/test/clover/reports directory in HTML and XML formats.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mfenes/zookeeper ZOOKEEPER-2955
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/443.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #443
----
commit f59dcf8ade02ffbe693b56b480d60aff821900de
Author: Mark Fenes <mf...@...>
Date: 2018-01-05T13:21:19Z
ZOOKEEPER-2955: Enable Clover code coverage report
----
> Enable Clover code coverage report
> ----------------------------------
>
> Key: ZOOKEEPER-2955
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2955
> Project: ZooKeeper
> Issue Type: Test
> Components: tests
> Affects Versions: 3.5.3, 3.4.11
> Reporter: Mark Fenes
> Assignee: Mark Fenes
>
> We have limited code coverage support in ZK. Clover for Java was running in the past but was turned off.
> Enable Clover code coverage report to make us more confident on the quality, stability and compatibility of future ZK releases.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)