Multi Module with 1 module for specific testing jacoco report

25 views
Skip to first unread message

Jimmy Rasolosoa

unread,
Jan 15, 2025, 3:15:52 PMJan 15
to JaCoCo and EclEmma Users

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



Reply all
Reply to author
Forward
0 new messages