Skip to content

■ SKILLS // SKILL SPECS

mutation-test-runner

Mutation testing to validate test quality by introducing code changes and verifying tests catch them

■ [!] ON THIS PAGE ▼
■ INSTALL // npx @self.md/cli install mutation-test-runner
AuthorJeremy Longshore
Namespace@jeremylongshore/claude-code-plugins-plus
Category#security
Version1.0.0
Stars★ 1,193
Downloads↓ 3
Verification[ ✓ ] self.md verified

Mutation testing to validate test quality by introducing code changes and verifying tests catch them

Installation

npx claude-plugins install @jeremylongshore/claude-code-plugins-plus/mutation-test-runner

Contents

Folders: agents, skills

Files: LICENSE, README.md

Documentation

Validate test suite effectiveness through mutation testing - introducing code changes and verifying tests catch them.

Features

  • Mutation generation - Arithmetic, logical, conditional mutations
  • Test validation - Verify tests catch introduced bugs
  • Mutation score calculation - Test quality metric
  • Survivor analysis - Identify weak test coverage
  • Framework support - Stryker, PITest, mutmut, Mutant

Installation

/plugin install mutation-test-runner@claude-code-plugins-plus

Usage

Run mutation testing on the validator module
Analyze mutation test results and suggest improvements

Mutation Types

  • Arithmetic - + → -, * → /
  • Comparison - > → >=, == → !=
  • Logical - && → ||, ! removal
  • Boolean - true → false
  • Conditionals - Remove if statements

License

MIT

Included Skills

This plugin includes 1 skill definition:

running-mutation-tests

|

View skill definition

Mutation Test Runner

This skill provides automated assistance for mutation test runner tasks.

Prerequisites

Before using this skill, ensure you have:

  • Test environment configured and accessible
  • Required testing tools and frameworks installed
  • Test data and fixtures prepared
  • Appropriate permissions for test execution
  • Network connectivity if testing external services

Instructions

Step 1: Prepare Test Environment

Set up the testing context:

  1. Use Read tool to examine configuration from {baseDir}/config/
  2. Validate test prerequisites are met
  3. Initialize test framework and load dependencies
  4. Configure test parameters and thresholds

Step 2: Execute Tests

Run the test suite:

  1. Use Bash(test:mutation-*) to invoke test framework
  2. Monitor test execution progress
  3. Capture test outputs and metrics
  4. Handle test failures and error conditions

Step 3: Analyze Results

Process test outcomes:

  • Identify passed and failed tests
  • Calculate success rate and performance metrics
  • Detect patterns in failures
  • Generate insights for improvement

Step 4: Generate Report

Document findings in {baseDir}/test-reports/:

  • Test execution summary
  • Detailed failure analysis
  • Performance benchmarks
  • Recommendations for fixes

Output

The skill generates comprehensive test results:

Test Summary

  • Total tests executed
  • Pass/fail counts and percentage
  • Execution time metrics
  • Resource utilization stats

Detailed Results

Each test includes:

  • T

Source

View on GitHub