Optimize test suites using mutation testing to maximize mutation kill rate with minimal tests. Use when you need to reduce test suite size while maintaining quality, identify redundant tests, improve mutation coverage, or validate test effectiveness. The skill analyzes test coverage, execution intervals, and redundancy using mutation operators, selects or generates a minimal subset of tests that maximizes mutation kill rate, and outputs an optimized test suite with detailed reports showing killed and surviving mutants. Supports multiple programming languages and mutation testing frameworks.
Install with Tessl CLI
npx tessl i github:ArabelaTso/Skills-4-SE --skill mutation-test-suite-optimizer81
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
This skill optimizes test suites using mutation testing, selecting a minimal subset of tests that maximizes mutation kill rate while reducing execution time and redundancy.
# Optimize test suite with mutation testing
python scripts/optimize.py /path/to/repo --tests tests/
# Use specific mutation operators
python scripts/optimize.py repo/ --tests tests/ --operators AOR,ROR,COR
# Generate optimization report
python scripts/optimize.py repo/ --tests tests/ --output report.jsonSupports common mutation operators:
Generates detailed report with:
Example report:
{
"original_tests": 150,
"optimized_tests": 45,
"mutation_kill_rate": 92.5,
"killed_mutants": 185,
"surviving_mutants": 15,
"time_savings": "67%"
}python scripts/optimize.py <repo_path> --tests <test_dir> [--operators <ops>] [--output <report.json>]0f00a4f
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.