Mutation Test

Run mutation testing to evaluate test suite quality. Use when user says "mutation test", "test quality", "are my tests strong enough", or "find weak tests". Introduces code mutations and reports mutation score with suggestions for improvement. Use when this capability is needed.

tomevault-io Updated

File contents

Run mutation testing to evaluate test suite quality.

Context

Test suite status: !npm test -- --passWithNoTests 2>&1 | tail -5 || pytest --co -q 2>&1 | tail -5 || go test ./... 2>&1 | tail -5 || echo "Could not detect test runner"

Target: $ARGUMENTS

Instructions

  1. Verify baseline test suite passes
  2. Configure mutation testing tool for the project language
  3. Run mutation testing on target directory
  4. Analyze survived mutants
  5. Report mutation score and identify weak test areas
  6. Suggest additional tests to kill survived mutants

Source: gr1m0h/dot — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/gr1m0h--dot--mutation-test commit b441ec3107

Frequently asked questions

npx skillmds@latest add tomevault-io/mutation-test