wp-mutate
Run mutation testing on WordPress plugins and themes to find weak tests — Pest --mutate or Infection for PHP, StrykerJS for JavaScript — then triage surviving mutants into concrete test improvements.
- Compatibility
- WordPress plugin/theme projects with an existing PHP test suite (Pest 3+ or PHPUnit) and/or JS tests (Vitest or Jest). Requires Xdebug 3+ with coverage mode or PCOV for PHP.
Pinned to revision 22187227ead1, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/wp-mutate/SKILL.md
- skills/wp-mutate/references/glossary.md
- skills/wp-mutate/references/php-setup.md
- skills/wp-mutate/references/stryker-setup.md
- skills/wp-mutate/references/triage-playbook.md
- skills/wp-mutate/scripts/detect_mutation_setup.mjs
Every link opens the file at its source, pinned to the revision this page describes.