[
https://issues.apache.org/jira/browse/HADOOP-6971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914610#action_12914610
]
Konstantin Boudnik commented on HADOOP-6971:
--------------------------------------------
Code coverage reports provided by Clover runs (e.g.
[here|https://hudson.apache.org/hudson/view/Hadoop/job/Hadoop-Common-trunk/clover]
show the information about covered classes, methods, and so on.
However, no tests info is shown. It simply says
{noformat}
Test Results 0 / 0 tests 0 secs
No test results could be found. Please ensure that you have instrumented your
unit tests correctly.
{noformat}
Apparently, Clover can't find and instrumented any tests classes in the source
code.
Same issues is found in HDFS and MR.
> Clover build doesn't generate per-test coverage
> -----------------------------------------------
>
> Key: HADOOP-6971
> URL: https://issues.apache.org/jira/browse/HADOOP-6971
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, test
> Affects Versions: 0.20.3, 0.21.1, 0.22.0
> Reporter: Konstantin Boudnik
> Assignee: Konstantin Boudnik
>
> Because of the way the structure of Hadoop's builds is done Clover can't
> properly detect test classes among the sources. As the result clover reports
> are incomplete and do not provide viral per-test coverage info.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.