Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to aggregate Descartes reports from multiple maven projects #12

Open
vmassol opened this issue Jul 12, 2018 · 3 comments
Open

Comments

@vmassol
Copy link

vmassol commented Jul 12, 2018

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
Copy link
Author

vmassol commented Jul 13, 2018

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

@oscarlvp
Copy link
Member

oscarlvp commented Jul 16, 2018

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.

@Cael35
Copy link

Cael35 commented Sep 6, 2018

Pending issue #1 for a while :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants