mutation-testing

Inject mutations into source code and compute mutation scores from test results.

2|Updated Sep 30, 2025
One-click install
npx skills add https://github.com/krzemienski/shannon-framework --skill mutation-testing-krzemienski
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mutation-testing
Source: https://github.com/krzemienski/shannon-framework/tree/main/skills/mutation-testing
Command: npx skills add https://github.com/krzemienski/shannon-framework --skill mutation-testing-krzemienski

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires serena, stryker, pitest, mutmut, and includes references (resource) components.

What problem does it solve?

Mutation testing to measure test effectiveness, compute a mutation score, and auto-generate missing tests to improve coverage.

Core Features & Use Cases

  • Mutation generation and execution
  • Calculation of mutation score (0.00-1.00)
  • Auto-generation of tests to cover gaps
  • Serena integration for trend tracking

Quick Start

Run mutation testing on a module and examine the mutation score with suggested test improvements.

Frequently Asked Questions about mutation-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I measure test quality with mutation testing?

Mutation testing measures test quality by injecting artificial bugs into source code and calculating a mutation score—the percentage of injected mutations caught by your test suite. A higher score indicates more effective tests at detecting real defects.

Can I run mutation testing on my existing unit and integration tests?

Yes, mutation testing applies to both unit and integration test suites across software projects. It works with tools like Stryker, PIT, and mutmut to execute tests against mutated code and compute coverage gaps.

How do I auto-generate tests for mutations my test suite doesn't catch?

After mutation testing identifies uncaught mutations, this Skill auto-generates missing tests to cover those gaps, improving your mutation score and overall test effectiveness over time.

Does mutation testing integrate with continuous tracking tools?

Yes, the Skill integrates with Serena MCP for continuous mutation tracking, enabling trend analysis and automated reporting of mutation scores across test runs and code changes.

What mutation testing tools does this Skill support?

The Skill works with Stryker, PIT, and mutmut—industry-standard mutation testing frameworks that inject mutations and measure test effectiveness across different project types.