Hi,
Generate a report containing package, class, line #, covered (true|false).
This is exactly what JaCoCo does. If you need APIs please have look at
documentation and examples:
http://www.eclemma.org/jacoco/trunk/doc/api/org/jacoco/core/analysis/package-summary.html
http://www.eclemma.org/jacoco/trunk/doc/examples/java/CoreTutorial.java
but my problem is if I analyze classes it will not cover code tested with
PowerMock.
This is a different story. JaCoCo works on class files and requires that
the class files instrumented at runtime are the same than the one used
while analyzing exec files. Please see this page for a detailled
discussion and possible work-arounds:
http://www.eclemma.org/jacoco/trunk/doc/classids.html
Regards,
-marc
On 11.04.16 01:52, [email protected] wrote:
Hey Folks!
I am working with Jacoco for last 16 months with success and I am loving it BUT
now I jave a special requirement and I am not getting the desired results
because I could t find parameters or API support
I need:
Generate a report containing package, class, line #, covered (true|false).
Ok .. we have samples in Jacoco project to how generate it in API, but my
problem is if I analyze classes it will not cover code tested with PowerMock.
Ok! I can get jacoco.exec file from maven build job and analyze it ... I got a
good number but based on probes ... but I am still needing line covered true or
false.
Any one can help me?
--
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/570B1ED5.4040802%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.