Be able to aggregate Descartes reports from multiple maven projects
vmassol opened this issue · 3 comments
This issue is about running descartes module per module (as it's done on XWiki since running all modules take too long on our codebase) but to aggregate the Descartes report to be able to quickly see where are the strong pseudo tested methods from all the modules.
In the meantime here's a command line to help identify modules have pseudo tested and partially tested methods:
find . -name "methods.json" -exec egrep -oH "pseudo-tested|partially-tested" {} \;
There is a report-aggregate-module
goel in the Pitest Maven plugin from version 1.3.2 that could be helpful.
For this goal to work, it is necessary to tell Pitest to export the line coverage. To do so first do:
mvn org.pitest:pitest-maven:mutationCoverage -DexportLineCoverage=true
Then:
mvn org.pitest:pitest-maven:report-aggregate-module
There is one drawback though, this goal assumes that all submodules have code in the src/main
and src/test
folders.