Multi-maven Project jacoco implementation

61 views
Skip to first unread message

Uma Shankar

unread,
Nov 20, 2019, 7:21:43 AM11/20/19
to JaCoCo and EclEmma Users
Hi, we have a multi-maven with child/sub-child we want to collect code coverage for the unit test and aggregate the report. Kindly provide step by step goals which I need execute to achieve this.

Evgeny Mandrikov

unread,
Nov 20, 2019, 3:05:55 PM11/20/19
to JaCoCo and EclEmma Users
Please try to use search, there are already many existing articles with step-by-step instructions in internet, here are few examples from search of "jacoco multi module" in Google:

Uma Shankar

unread,
Nov 21, 2019, 2:13:33 AM11/21/19
to JaCoCo and EclEmma Users
I have added below as my command line for build which I took from my project. As a initial step, I want to call "prepare-agent" to generate the data file. Can i know what's the purpose of "install" here. Goals='clean compile jacoco:prepare-agent install"

Uma Shankar

unread,
Nov 21, 2019, 9:05:42 AM11/21/19
to JaCoCo and EclEmma Users
We have the data file . Can I know how do I aggregate the data file ?. I saw report-aggregate would work but how does it identify which file it needs to aggregate.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages