Skip to content

docs: clarify PIT mutation testing setup and add policy reference#116

Merged
bernardladenthin merged 2 commits into
mainfrom
claude/bold-ride-652984
Jun 25, 2026
Merged

docs: clarify PIT mutation testing setup and add policy reference#116
bernardladenthin merged 2 commits into
mainfrom
claude/bold-ride-652984

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • Updated mutation testing command in CLAUDE.md and README.md to include the required test-compile lifecycle prefix
  • Added explanation that test-compile is needed so PIT inherits JaCoCo's agent
  • Added new "PIT Mutation Testing" section to CLAUDE.md with reference to the policy document and correct invocation syntax

Test plan

  • CI is green on this branch
  • Docs / CHANGELOG updated where applicable

Related issues / PRs

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • My commits follow Conventional Commits
  • No security-sensitive changes (if there are, I have notified the maintainer privately per SECURITY.md)

https://claude.ai/code/session_017i6A5bMhgCSbiKibQhxwuz

claude added 2 commits June 25, 2026 06:39
The 'Run mutation tests' command in CLAUDE.md and README used the bare
'mvn org.pitest:pitest-maven:mutationCoverage', which fails locally with
NoSuchFileException: {argLine} (jacoco's @{argLine} isn't resolved without a
lifecycle phase). Correct both to 'mvn test-compile org.pitest:...' and add a
'PIT Mutation Testing' pointer to the workspace policy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017i6A5bMhgCSbiKibQhxwuz
Slim the CLAUDE.md PIT pointer to the uniform cross-repo form and trim the
'Run mutation tests' block (CLAUDE.md + README) to the command plus a short note;
the @{argLine}/jacoco rationale now lives only in the workspace PIT policy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017i6A5bMhgCSbiKibQhxwuz
@bernardladenthin bernardladenthin merged commit cee3b90 into main Jun 25, 2026
12 of 13 checks passed
@bernardladenthin bernardladenthin deleted the claude/bold-ride-652984 branch June 25, 2026 07:22
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.

2 participants