Hello Mike,

if you only configure the goals "prepare-agent" and "report" as executions
the coverage should be automatically measured for tests run by surefire and
failsafe combined.

Just *do not* define executions for prepare-agent-integration resp.
report-integration.

Could you show the configuration of the jacoco-maven-plugin?

Best regards
Mirko
-- 
Sent from my mobile

Am 22.03.2018 20:01 schrieb "Mike Duigou" <[email protected]>:

First off: Thank you for an excellent tool and the ongoing support you've
been doing. We have been using jacoco since 0.7.2 and it have been
extremely reliable and useful for us. Timely support of new JDK releases is
definitely appreciated!

Our build environment includes both unit and integration tests which are
run by Maven Surefire and Failsafe plugins respectively. Unfortunately I
have been unsuccessful producing a code coverage report that includes the
results of both types of tests. The default jacoco maven plugin recipe is
geared towards unit tests. I was able to figure out a way to switch
reporting to the integration tests by forcing the filename of the jacoco
output but I haven't been able to come up with a recipe for producing a
combined report.

Is it possible? Should perhaps combined reports be the default with split
reports for unit and integration tests being an option?

Thanks,

Mike

--
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/0d915fe7-0dfd-4ce2-819a-b62605e437c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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/CAK8jvqx2YD0UKPB41msfVFx2eTsh%2BR3LyDe1%2B0hHa%3D7eFffMFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to