Changed from offline to online, but still don't see coverage for classes in other modules

30 views
Skip to first unread message

David Karr

unread,
Feb 23, 2017, 12:14:46 PM2/23/17
to JaCoCo and EclEmma Users
I asked about this on SO yesterday morning: http://stackoverflow.com/questions/42401052/changed-jacoco-from-offline-to-online-but-still-dont-see-coverage-for-classes .

Perhaps someone will see a post here that they didn't see on SO.

In short, I'm using online instrumentation in a large multi-module project.  My tests are executing code in other modules besides the module with the test class and the CUT.  When I view the generated JaCoCo report, it only shows coverage for the classes in the current module, although inspection of the strings in the "jacoco.exec" file show information about classes in other modules.

I need to understand whether I'm just doing something wrong, or whether it's simply not possible to see this coverage in the generated report.

Note that I can use EclEmma interactively, and it does show coverage in those classes in other modules.

David Karr

unread,
Feb 23, 2017, 12:15:37 PM2/23/17
to JaCoCo and EclEmma Users
(I have no idea why this double posted.  I only clicked the button once.)

Evgeny Mandrikov

unread,
Feb 23, 2017, 5:26:49 PM2/23/17
to JaCoCo and EclEmma Users
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages