What problem does it solve?
This Skill addresses the critical problem of ensuring your test suites are truly effective at catching bugs, not just passing superficial checks. It validates test quality by assessing their ability to detect code changes.
Core Features & Use Cases
- Test Quality Validation: Quantify the effectiveness of your test suite using mutation testing metrics like the mutation score.
- Identify Weak Tests: Pinpoint specific tests that fail to detect introduced code mutations, indicating gaps in assertions or logic.
- Improve Test Effectiveness: Receive actionable recommendations and generated test cases to strengthen your test suite and increase its bug-catching capability.
- Use Case: Before a major release, use this Skill to run mutation testing on your critical modules. If the mutation score is below 80%, the Skill will identify the surviving mutants and suggest specific tests to improve coverage and assertion strength, ensuring your tests actually catch bugs.
Quick Start
Use the mutation-testing skill to analyze the test suite for the 'src/payment.ts' file and generate missing tests for surviving mutants.