Hm, could you please first try to generate separate reports for UT and
IT and then check whether they look as expected? My guess is that the
root cause of your problem is not related to merge.
Cheers,
-marc
On 2014-01-23 08:18, Henry wrote:
There are actually 2 problems with the merge.
But first to answer your questions:
1. Yes
2. No. This means I am not supplying the class files upon generation
of the merged report, right?. I can fix that, I hope this is the
problem.
But, I have another problem.
Say UT and IT cover the same class.
IT cover's it less than UT.
The merged report doesn't merge the coverage that UT did to this class
and only shows the same coverage as the IT report showed.
On Wednesday, January 22, 2014 10:58:50 PM UTC+2, Marc R. Hoffmann
wrote:
Hi Henry,
the generated report has an "Sessions" link in the top right corner.
Here you find alle classes from the merged sessions.
1) Do you see the classes from the UT?
2) Are this classes linked (so you can click on it to jump to the
corresponding report page?
Cheers,
-marc
On 22.01.14 20:07, Henry wrote:
> Hi all.
>
> I am using jacoco maven plugin version 0.6.4.201312101107.
>
> I have a problem when generating report from a merged exec file.
>
> Elaborration:
>
> 1. I run coverage using UT - generated jacoco-ut.exec.
> 2. I run coverage using integration tests - generated jacoco-it.exec
> 3. Used the jacoco maven plugin to merge the 2 exec files to
jacoco-merged.exec
> 4. I looked at the binary of jacoco-mnerged.exec and see that it contains the
information of both the jacoco-ut.exec and jacoco-it.exec files.
> 5. I generate report based on jacoco-merged.exec file (either by maven plugin
or ant).
>
> The result is, that the merged report has the information which came from
jacoco-it.exec.
> All the coverage information from jacoco-ut.exec is missing.
>
> Is it a known issue or am I doing something wrong?
>
> Thanks,
> Henry.
>
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.