running-mutation-tests

Solid

This skill enables Claude to validate test suite quality by performing mutation testing. It is triggered when the user asks to run mutation tests, analyze test effectiveness, or improve test coverage. The skill introduces code mutations, runs tests against the mutated code, and reports on the "survival rate" of the mutations, indicating the effectiveness of the test suite. Use this skill when the user requests to assess the quality of their tests using mutation testing techniques. Specific trigger terms include "mutation testing", "test effectiveness", "mutation score", and "surviving mutants".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview This skill empowers Claude to execute mutation testing, providing insights into the effectiveness of a test suite. By introducing small changes (mutations) into the code and running the tests, it determines if the tests are capable of detecting these changes. This helps identify weaknesses in the test suite and improve overall code quality. ## How It Works 1. **Mutation Generation**: The plugin automatically introduces mutations (e.g., changing `+` to `-`) into the code. 2. **Test Execution**: The test suite is run against the mutated code. 3. **Result Analysis**: The plugin analyzes which mutations were "killed" (detected by tests) and which "survived" (were not detected). 4. **Reporting**: A mutation score is calculated, and surviving mutants are identified for further investigation. ## When to Use This Skill This skill activates when you need to: - Validate the effectiveness of a test suite. - Identify gaps in test coverage. - Improve the mutation score of a project. - Analyze surviving mutants to strengthen tests. ## Examples ### Example 1: Improving Test Coverage User request: "Run mutation testing on the validator module and suggest improvements to the tests." The skill will: 1. Execute mutation tests on the validator module. 2. Analyze the results and identify surviving mutants, indicating areas where tests are weak. 3. Suggest specific improvements to the tests based on the surviving mutants, such as adding new test cases or modifying existing on...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

mutation-test-runner

Run mutation test runner operations. Auto-activating skill for Test Automation. Triggers on: mutation test runner, mutation test runner Part of the Test Automation skill category. Use when writing or running tests. Trigger with phrases like "mutation test runner", "mutation runner", "mutation".

2,266 Updated today
jeremylongshore
Testing & QA Solid

stryker-mutation-testing

Stryker mutation testing for assessing test suite quality and effectiveness

1,034 Updated today
a5c-ai
AI & Automation Solid

tracking-regression-tests

This skill enables Claude to track and run regression tests, ensuring new changes don't break existing functionality. It is triggered when the user asks to "track regression", "run regression tests", or uses the shortcut "reg". The skill helps in maintaining code stability by identifying critical tests, automating their execution, and analyzing the impact of changes. It also provides insights into test history and identifies flaky tests. The skill uses the `regression-test-tracker` plugin.

2,266 Updated today
jeremylongshore
Testing & QA Solid

generating-unit-tests

This skill enables Claude to automatically generate comprehensive unit tests from source code. It is triggered when the user requests unit tests, test cases, or test suites for specific files or code snippets. The skill supports multiple testing frameworks including Jest, pytest, JUnit, and others, intelligently detecting the appropriate framework or using one specified by the user. Use this skill when the user asks to "generate tests", "create unit tests", or uses the shortcut "gut" followed by a file path.

2,266 Updated today
jeremylongshore
AI & Automation Solid

running-integration-tests

This skill enables Claude to run and manage integration test suites. It automates environment setup, database seeding, service orchestration, and cleanup. Use this skill when the user asks to "run integration tests", "execute integration tests", or any command that implies running integration tests for a project, including specifying particular test suites or options like code coverage. It is triggered by phrases such as "/run-integration", "/rit", or requests mentioning "integration tests". The plugin handles database creation, migrations, seeding, and dependent service management.

2,266 Updated today
jeremylongshore