Hello Everyone,
I have been searching for quite some time for a solution, but I haven't been able to find anything that answers this specific need.
I would like to implement a code coverage for a project with multiple modules or micro-services. But the thing is that, I do not have a POM parent, and secondly the tests for each services are in a service itself let's call it "testing".
For the testing, I am only doing integration testing with cucumber.
So basically the project would look like this :
MyProject
-Service 1
-src
-main
-test
Gitlab-ci.yml
Settings.xml
POM.xml
-Service 2
-src
-main
-test
Gitlab-ci.yml
Settings.xml
POM.xml
…
-Testing
-src
-main
-test ( Test case of the other services with the stepdefinitions, features ect are inside this folder)
Gitlab-ci.yml
Settings.xml
POM.xml
I have succeeded in lauching jacoco from the testing service but obviously it gave the coverage for that service only and not the other services.
I would be very much grateful for any help!
Thank you.
Jimmy