Skip to main content
plugin

mutation-tester — Claude Code plugin: mutation testing for code

mutation-tester is a Claude Code plugin that checks test quality by injecting bugs into code and seeing whether tests catch them.

Apache-2.0 ★ 2,858 updated 2026-05-12

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install mutation-tester@claude-code-toolkit
Open on GitHub

What mutation-tester does

The plugin introduces small changes to code — swaps operators, flips conditions, tweaks constants — then runs tests. If a test passes with a bug in place, it does not cover that logic path. This reveals gaps in test coverage that code coverage metrics miss.

It works with any language that has a runnable test suite: the plugin modifies files, runs the project's test runner and rolls back changes. Without a configured runner (npm test, pytest, go test) it cannot produce results.

Install from the claude-code-toolkit marketplace by adding the repository first, then the plugin itself.

What it helps with

  • check whether tests catch real bugs in code
  • find logic paths tests do not cover
  • measure test suite quality beyond coverage metrics

Example prompts for the agent

  • Run mutation testing on src/auth.ts
  • Check test quality in the billing module
  • Inject mutations into utils/validation.js and run tests

How to install mutation-tester

Plugin marketplace

/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install mutation-tester@claude-code-toolkit

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about mutation-tester

How to install mutation-tester in Claude Code?

Run /plugin marketplace add rohitg00/awesome-claude-code-toolkit, then /plugin install mutation-tester@claude-code-toolkit.

What does mutation-tester do?

The plugin injects bugs into code and runs tests. If a test passes with a bug present, it does not cover that code path.

What does mutation-tester require?

A configured test runner in the project — the plugin executes commands like npm test or pytest and checks the result.

Source text

mutation-tester · Apache-2.0
Mutation testing to measure test suite quality

© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit

Similar plugins

All plugins for Testing and QA →

From the same set178

The whole set →

Project sponsors

Companies that keep this analytics open