How add Code Coverage for system and integration tests ran in docker

337 Views Asked by At

I am trying to add code coverage to my Java Spring project. The current integration and system tests run the micro services in docker and run tests against them when I run the tests.

How can I add code coverage to this architecture to generate the report when i run the tests on services in docker?

Thanks a lot in advance!

1

There are 1 best solutions below

2
On

Use sonarqube, you can connect it with jenkins and let jenkins be your auto builder