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

Adding an additional report-aggregate-module mojo which aggregate using module instead of dependency #448

Merged
merged 3 commits into from
Apr 25, 2018

Conversation

sarahBuisson
Copy link

@hcoles
@rchargel

I've slightly modified the new "aggregate-report" mojo class in order to do the aggregation of the report for all the submodule of a project, instead of adding an aggregate project with dependencies.

The configuration of the aggregation will be so much easier and cleaner this way.
(you can configure everything in the parent project, and you don't have to create a project dedicated to the aggregatation.)

Unfortunately, This method is not compatible with the old report-aggegate mojo, so I had to create a new mojo.

To use-it:
in the pom parent

  <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.pitest</groupId>
                            <artifactId>pitest-maven</artifactId>
                            <version>${pitest.version}</version>
                            <configuration>
                                <outputFormats>
                                    <outputFormat>XML</outputFormat>
                                </outputFormats>
                                <exportLineCoverage>true</exportLineCoverage>
                  

then the command-libe
mvn pitest:report-aggregate-module

@rchargel
Copy link
Contributor

rchargel commented Mar 3, 2018 via email

@hcoles
Copy link
Owner

hcoles commented Mar 10, 2018

Thanks @sarahBuisson I will take a look when I get chance, but it will need some integration tests before it can be merged into master.

…ng module instead of dependency

(add integration tests)
@sarahBuisson
Copy link
Author

@hcoles
@rchargel
I've add IT tests,
simple curiosity, do you know when the version 1.4 will be ready?

@sarahBuisson
Copy link
Author

@hcoles Hello, do you want help with the 1.4? Do you want I do this PR for a previous version of pitest?

@hcoles hcoles merged commit 1c69459 into hcoles:master Apr 25, 2018
@hcoles
Copy link
Owner

hcoles commented Apr 25, 2018

@sarahBuisson Thanks for this. The intention is to push 1.4 out when I've had chance to work through the PR backlog - which is proving a little slow as I'm starved of time at the moment.

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

Successfully merging this pull request may close these issues.

4 participants