Skip to content

Provide official Maven aggregator plugin that enforces thresholds on aggregated PIT results #1448

@verhasi

Description

@verhasi

Problem

The existing report-aggregate goal produces a combined report but does not enforce thresholds.
I attempted to use an aggregator plugin, but only org.pitest:pitest-aggregator exists and it is a library jar (no plugin.xml), so Maven cannot execute it as a plugin.

Expected

An official Maven plugin (or goal) that can:

  • aggregate PIT results across modules, and
  • enforce thresholds (mutation, coverage, test strength) on the aggregated data.

Use Case

Multi-module build with production code with unit tests + integration tests split, where only the overall quality gate should decide build status.

Suggested solution

A new aggregate goal in pitest-maven that can enforce thresholds

Environment

  • Maven: 3.9.8
  • Java: 21.0.6
  • PIT: 1.22.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions