Hi Paul,
with the current JaCoCo release reports are only supported within one
module: Exec file from test execution and class files have to be in the
same module. Creating reports accross module boundaries is supported
with the new "report-aggregate" goal of the next JaCoCo release.
Regards,
-marc
On 24.05.16 14:05, [email protected] wrote:
I used a working example I wrote previously and the only difference is that I
moved the integration tests to another module on their own.
When I run the tests the failsafe tests run ok and a jacoco exec file is
created, I dont know if it is right or not but it has class names that are in
my war file.
The report doesnt seem to generate, if I try to report in the verify phase then
I get this message:
Skipping JaCoCo execution due to missing classes directory:
If I run the report goal in the pre-integration-test phase then a report of
sorts is created but there is no code coverage in there, and just the
index.html and sessions files are created.
I am using jacoco 0.7.6.201602180812
Is there something extra that needs to be done to get a coverage report if the
classes are built in another module of the project?
--
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/57444CF6.4070604%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.