Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Measure and improve test effectiveness in Swift codebases using mutation testing.
swift-mutation-testing is a CLI for mutation testing of Swift projects — both Xcode and Swift Package Manager. It modifies your source code in small, targeted ways — mutations — and runs your test suite against each one. A mutation that goes undetected reveals missing tests or weak assertions. The result is a mutation score that reflects how effectively your tests catch real bugs.
Traditional test coverage does not guarantee that tests catch real bugs.
Mutation testing introduces controlled changes to your code to verify that your tests fail when behavior changes. Surviving mutations indicate gaps in test effectiveness.
--operator-tier picks how deep a run goes, see Operators$TMPDIR/swift-mutation-testing, so the next run builds incrementally (--no-warm-sandbox builds from scratch)--timing shows how a run's time splits between its phasesplan writes what a run will do, run --plan --shard i/n executes a slice of it on any machine, merge joins the slices into one report, reproduce reruns one mutant with its sandbox kept// swift-mutation-testing:disable on a declaration, // swift-mutation-testing:disable-next-line on a linebrew tap ericodx/homebrew-tools
brew install swift-mutation-testing
Other installation methods — pre-built binary, build from source — are covered in the Installation Guide.
# Generate a config file (auto-detects project type, workspace or project, scheme, destination, test target and testing framework)
swift-mutation-testing init
# Run mutation testing
swift-mutation-testing
# Run on an SPM package (no scheme or destination needed)
swift-mutation-testing /path/to/my-package
Example output:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ericodx/swift-mutation-testing --plugin swift-mutation-testingPlugins from other owners that cover similar ground