Steps to use JaCoCo code for a sample java Test file ?

79 views
Skip to first unread message

Yogesh Shinde

unread,
May 12, 2015, 11:00:24 AM5/12/15
to jac...@googlegroups.com
Hi ,

I have taken code of JaCoCo Release 0.7.4 in eclipse.
I want to run/use JaCoCo code to for a java test file.

1) Could anyone please let me know the steps to do the same ?
2) Can I debug while I am running / using the JaCoCo code ?

Thanks,
Yogesh

Marc R. Hoffmann

unread,
May 12, 2015, 4:13:10 PM5/12/15
to jac...@googlegroups.com
Hi,

there is a ready-to use Eclipse integration for JaCoCo. It is called EclEmma and can be installed here:

  http://www.eclemma.org/installation.html

EclEmma comes with a separate launch mode "coverage" which cannot be combined with debugging.

Regards,
-marc
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/5dc1154c-71ba-48f3-bc78-1fb04d1a3c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yogesh Shinde

unread,
May 13, 2015, 6:30:08 AM5/13/15
to jac...@googlegroups.com
Sorry but my aim is to understand the calling context for mock object while running JaCoCo.
Therefore I need to debug the code.

And when I understand this I have to modify the JaCoCo code to skip code coverage for only mock object (but NOT by only real object OR both real and mock object).
Please help me out for the same.

Thanks,
Yogesh

Yogesh Shinde

unread,
May 16, 2015, 8:50:54 AM5/16/15
to jac...@googlegroups.com
Could anyone please help me for the below issue ?

Thanks,
Yogesh
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages