How to get Jacoco multi-module coverage.

77 views
Skip to first unread message

gwei...@gmail.com

unread,
Mar 22, 2018, 12:49:07 AM3/22/18
to JaCoCo and EclEmma Users
Hi,

I hava a maven multi-module project, and the tests are located in a module separate from the code under test. Is there a doc or a demo about how to get the coverage in this situation?

My project structure like this:
> account
> bizorder
> qatest
> jacoco-report

Thanks.

Marc Hoffmann

unread,
Mar 22, 2018, 2:03:08 AM3/22/18
to jac...@googlegroups.com
Hi,

sure there is documentation:
http://www.jacoco.org/jacoco/trunk/doc/report-aggregate-mojo.html

Alternatively you might consider external tools like SonarQube to create
reports.

Regards,
-marc
Reply all
Reply to author
Forward
0 new messages