samedi 22 mai 2021

Configuring aggregated jacoco coverage reports on a spring multi-module project

These links really helped me: - https://cylab.be/blog/97/compute-code-coverage-for-a-multi-module-maven-project-with-jacoco - https://stackoverflow.com/questions/33078745/jacoco-maven-multi-module-project-coverage - https://github.com/johan974/maven-multi-module-unittest-integrationtest-jacoco/blob/master/testing/pom.xml Keep it mind: - that you might need a test to exit for the coverage to be computed - sometimes the maven configuration will only be picked up if added at the plugin level, not at the task level.

Aucun commentaire:

Enregistrer un commentaire