Hi Thomas,
we have the exact same problem for the JaCoCo build: JaCoCo does not yet
support multi-module or cross-module code coverage.
What we do is to generate a combined report in a separate module using
the antrun goal, see
https://github.com/jacoco/jacoco/blob/master/org.jacoco.doc/pom.xml#L76
Cheers,
-marc
On 27.11.14 21:10, [email protected] wrote:
Hi all,
I have a set of Eclipse plugins that are compiled using the Maven Tycho plugin. Following the "Eclipse
convention", tests are located in a separate module (a bundle fragment) than the tested classes. E.g. If
you have a "plugin1" module than the test classes are in a separate "plugin1-test" module.
The problem I have with Jacoco is that when I execute "mvn clean verify site", the coverage report
generated for the "plugin1-test" only includes the coverage of the test classes (and not the tested
classes), and no coverage report is generated for "plugin1".
I googled around and found a couple of other people having the same problem,
but I wasn't able to find a solution.
Can anyone help me please?
Thank you.
Thomas
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/5477ECAA.70806%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.