Hi Saket,
the JaCoCo agent always creates an empty exec file at startup to ensure
the location is writable.
To actually dump coverage data into the exec file the JVM running the
test must properly shut down. If you i.e. just kill the process the
agent cannot write out execution data.
Another common mistake is invalid includes/excludes configuration.
Actually there is documentation available for JaCoCo:
http://www.eclemma.org/jacoco/trunk/doc/
Regards,
-marc
On 2015-09-15 14:19, Saket Kumar wrote:
Hi,
I am working on code coverage tools so working on jacoco
implementation. Mainly i am curious about java agent that gave code
coverage on the fly.I have java agent version
0.7.5 .I did the setup of it on my system.So when i gave java agent as
a parameter to server startup and after doing manual testing of my
application it generated .exec file
at specified location.But some time after i stop my server .exec file
does not populated.And more about jacoco report part it shows report
which have coverage for class that has not being used while manual
testing.Report part seems a bit confusing and wrong detail being
showing.
Please help me on to this because i do not see elaborated
documentation of Jacoco on web.It seems like it behave unexpectedly.
Thanks,
Saket
--
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/5ee95ccd-7d96-4daf-98d9-085ff6bf4efa%40googlegroups.com
[1].
For more options, visit https://groups.google.com/d/optout [2].
Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/5ee95ccd-7d96-4daf-98d9-085ff6bf4efa%40googlegroups.com?utm_medium=email&utm_source=footer
[2] https://groups.google.com/d/optout
--
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/358f93332a43e273a2d23fe6e4fd356a%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.