pitmp-maven-plugin icon indicating copy to clipboard operation
pitmp-maven-plugin copied to clipboard

Be able to aggregate Descartes reports from multiple maven projects

Open vmassol opened this issue 6 years ago • 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.

vmassol avatar Jul 12 '18 16:07 vmassol

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" {} \;

vmassol avatar Jul 13 '18 11:07 vmassol

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.

oscarlvp avatar Jul 16 '18 14:07 oscarlvp

Pending issue #1 for a while :-)

Cael35 avatar Sep 06 '18 10:09 Cael35