Mutation Testing for the AI Era
Coverage tells you code ran. A mutation score tells you a test would notice a bug. AI writes code and tests faster than people can review them, and mutation testing is the automatic check on those tests.
For engineers who know unit tests and coverage. StrykerJS is the core thread, with one chapter each for Infection (PHP) and PIT (Java). Every number comes from a public repo at a pinned commit.
published1 / 11
Coverage tells you code ran, not that it was checked
Your AI's Tests Pass. Here's What They Don't Check
An agent wrote a module and its own tests: 100% line coverage, 90.67% mutation score. What the seven surviving mutants reveal about verifying AI-written code.
Reading a mutation report
Killing survivors without chasing the score
Mutation testing in CI without the bill
Agents in the loop: mutation-guided test writing
A mutation gate for AI-written pull requests
Beyond operators: LLM-written mutants
PHP with Infection
Java with PIT
Rolling it out on an existing codebase