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

add aggregated results to report aggregator and configurable thresholds to maven aggregator mojo #1095

Merged

Conversation

Pfoerd
Copy link
Contributor

@Pfoerd Pfoerd commented Oct 13, 2022

Fixes #1068 .

Adds support for thresholds for aggregated mutation coverage, test strength and max. surviving mutants in multi module projects:

<plugin>
	<groupId>org.pitest</groupId>
	<artifactId>pitest-maven</artifactId>
	<version>${pit.version}</version>
	<configuration>
		//...
		<aggregatedTestStrengthThreshold>26</aggregatedTestStrengthThreshold>
		<aggregatedMutationThreshold>20</aggregatedMutationThreshold>
		<aggregatedMaxSurviving>6</aggregatedMaxSurviving>
	</configuration>
</plugin>

As this is added as a result of ReportAggregator#aggregateReport this can also be used in the pitest gradle plugins to configure thresholds for the aggregated metrics in the next step.

add thresholds to maven aggregator mojo

on-behalf-of: @e-solutions-GmbH <info@esolutions.de>
@hcoles hcoles merged commit 0006900 into hcoles:master Oct 14, 2022
@hcoles
Copy link
Owner

hcoles commented Oct 14, 2022

Thanks

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.

[Feature request] coverageThreshold and mutationThreshold for report report-aggregate
2 participants