Hello everyone :)

We currently have Sonar + JaCoCo Maven Plugin (0.7.9) installed to get code 
coverage metrics on our services. Our Unit tests all run on the Jenkins 
server and this is where the code coverage report is produced and analysed. 
After the services are built on the Jenkins server, they are then deployed 
on a test dedicated server.

End to End tests that are executed by other teams run on the aforementioned 
test server. These tests end up hitting our services. 

Using JaCoCo, would it be possible to get code coverage stats from these 
E2E tests that use our services?

I have read the following guides related to the JaCoCo remote agent;
https://github.com/eeichinger/jacoco-remote-integration-test-coverage
https://github.com/piczmar/maven-jacoco-remote

If I understood correctly, the remote agent will need to be loaded in the 
JVM (on our test server in this case) and the services executing the tests 
(run by other teams) will need to have JaCoCo plugin settings included in 
the POM file. Is this assumption correct?

I hope my explanation was clear. I hope someone can help me patch the gaps 
in my knowledge there!

Thanks
Majd

-- 
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/84f585b9-4297-48e1-a573-844d44f6f28b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to