Step 1 of 8: PIT walking skeleton #2

Merged
mi merged 2 commits from step-1-walking-skeleton into main 2026-10-01 13:59:28 +02:00
Owner

Step 1 of 8 from section 8.3 of the specification: a real Gradle/PIT run with the packaged plugin.

  • PIT result listener MUTATION_CRAP, registered through the service entry.
  • Original class bytes via the public ListenerArguments.data() (ReportOptions): classpath order, origin and SHA-256 recorded, no reflection.
  • JaCoCo Core complexity per JVM method, joined with the raw PIT status counts in mutation-crap.json (schemaVersion 0, no score yet).
  • Functional test: publishes the JAR into a build-local repo and runs pitest via Gradle TestKit on a Java fixture.
  • ADR 0001, docs/compatibility.md (Gradle 9.8.0, gradle-pitest-plugin 1.19.0, PIT 1.30.0, JaCoCo 0.8.15, Java 21).

CI on werkator.javagil.de: green (46 s), functional test included.

PR-doc: docs/prs/2026-10-01-PR#2-pit-walking-skeleton.md

🤖 Generated with Claude Code

Step 1 of 8 from section 8.3 of the specification: a real Gradle/PIT run with the packaged plugin. - PIT result listener `MUTATION_CRAP`, registered through the service entry. - Original class bytes via the public `ListenerArguments.data()` (`ReportOptions`): classpath order, origin and SHA-256 recorded, no reflection. - JaCoCo Core complexity per JVM method, joined with the raw PIT status counts in `mutation-crap.json` (schemaVersion 0, no score yet). - Functional test: publishes the JAR into a build-local repo and runs `pitest` via Gradle TestKit on a Java fixture. - ADR 0001, `docs/compatibility.md` (Gradle 9.8.0, gradle-pitest-plugin 1.19.0, PIT 1.30.0, JaCoCo 0.8.15, Java 21). CI on werkator.javagil.de: green (46 s), functional test included. PR-doc: `docs/prs/2026-10-01-PR#2-pit-walking-skeleton.md` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mi added 1 commit 2026-10-01 13:55:19 +02:00
Step 1 of 8: PIT walking skeleton
werkator build succeeded after 00:47
e21043e9ff
A PIT result listener (output format MUTATION_CRAP) collects the
mutation results, reads the original class files from the classpath PIT
was started with, computes the JaCoCo complexity per JVM method and
writes the joined raw data to mutation-crap.json (schemaVersion 0, no
score yet).

A functional test publishes the JAR into a build-local repository and
runs pitest with Gradle TestKit on a small Java fixture that consumes it.
ADR 0001 records the integration, docs/compatibility.md the tested
versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi added 1 commit 2026-10-01 13:57:51 +02:00
An outputFormats line now shows which plugin provides the format, and no
other plugin on PIT's tool classpath can claim the name by chance.
ADR 0001 records the deviation from the specification's MUTATION_CRAP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi merged commit 2036377362 into main 2026-10-01 13:59:28 +02:00
mi deleted branch step-1-walking-skeleton 2026-10-01 13:59:28 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mi/werkcrappit#2