add-mutation-testing
CommunityProve your tests catch real regressions.
Software Engineering#mutation testing#pitest#surviving mutants#gradle kotlin dsl#spring boot 4#unit test quality
Authordprice-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the problem of unit tests that may only execute code paths without actually detecting behavioral bugs, by adding PIT mutation testing so you can measure whether assertions kill meaningful code mutations.
Core Features & Use Cases
- PIT mutation testing setup for Spring Boot 4: Adds the Gradle PIT plugin and a pinned, Gradle-9-compatible configuration to run
./gradlew pitest. - Spec-aware exclusions: Excludes generated OpenAPI
api.*anddto.*packages when present to keep the report focused on meaningful logic. - Survivor-driven quality improvement: Interprets surviving mutants as actionable gaps in assertions and verification, with guidance for killing mutants or documenting true equivalence.
- On-demand workflow: Ensures PIT is not wired into
tasks.checkso CI is not slowed by expensive mutation runs.
Quick Start
Add PIT to your existing Spring Boot 4 project by running the pitest steps to insert the PIT plugin and configuration into build.gradle.kts, then verify with ./gradlew pitest.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-mutation-testing Download link: https://github.com/dprice-dev/claude-java-skills/archive/main.zip#add-mutation-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.