Hi;
I'm using Jacoco cli to merge multiple modules after generating all Unit Tests jacoco.exec files & one Integration Test Jacoco.exec file.
The result of UT jacoco report is presented as modules and its percentage of modules is clear enough after generated by Maven verify, the same with IT (Integration test)
UT (Unit Test) report like :
![Screenshot 2024-04-29 at 12.36.25.png](https://groups.google.com/group/jacoco/attach/5a2f8d7597d5c/Screenshot%202024-04-29%20at%2012.36.25.png?part=0.2&view=1)
then IT (Integration Test) report:
![Screenshot 2024-04-29 at 12.42.49.png](https://groups.google.com/group/jacoco/attach/5a2f8d7597d5c/Screenshot%202024-04-29%20at%2012.42.49.png?part=0.1&view=1)
As you can see for example, core-entities, sival-controllers-v2 modules are structured the same for both UT & IT and for the rest of the modules which will help the team to see the coverage percentage per module and track the progress and coverage.
However, when I use the Merge utility:
java -jar org.jacoco.cli-0.8.8-nodeps.jar merge jacoco-ut.exec jacoco-it.exec --destfile=jacoco-ut-it-merged.exec
java -jar org.jacoco.cli-0.8.8-nodeps.jar report jacoco-ut-it-merged.exec ${CLAZ_PARAM} ${SOURCE_PARAM} --csv cov_report_ut_it.csv --html html_cov_report_ut_it
The merged report is not modulated as of UT & IT :
Here is the merged report:
Is there a way to merge the reports and keep all of them as modules?
Best,
Omar