Hi,
Re 1: You might have an issue with non-matching classes, find background
information here: http://www.eclemma.org/jacoco/trunk/doc/classids.html
Re 2: Yes, multiple VMs can dump to the same exec file or you can use
the merge goal/task to combine multiple exec files into a single one.
Best regards,
-marc
On 10.04.14 08:17, Nava Onik wrote:
Hello,
I have successfully implemented jacoco with sonar for integration tests.
I have problem with coverage regarding rest calls from the server.
I have 2 kinds of rest calls:
1. rest calls from the client running the tests to the tomcat server
loaded by cargo
2. rest calls from the server side to the same virtual machine
(internal rest calls)
If I make the second type rest calls to a different virtual machine
(runnig the same code, but a different class loader) everything works
fine but of course I get coverage only for rest calls of type 1.
If I use the same virtual machine for rest calls of type 2, I get 0%
coverage.
1. What is the reason? Is there a way to overcome this problem?
2. Is there a way to run jacoco with multiple virtual machines?
Thanks for your help.
--
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]
<mailto:[email protected]>.
For more options, visit 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].
For more options, visit https://groups.google.com/d/optout.