Dead Probes Pass: Mutation-Check Your Characterization Tests Before You Refactor
说明与用途
通过进行突变审计,验证您的测试是否真正检测到错误:为每个行为创建三种突变,运行探针与突变矩阵,并保留至少在一种突变上失败的活跃测试。
问题
Legacy code has passing tests that give false confidence because the tests do not detect bugs; refactoring risks introducing regressions.
结果
After a 20‑minute audit, dead probes are identified and removed, leaving a minimal set of alive probes that detect mutations, providing a safety net for refactoring.
工作流
- Draft probes with a free LLM model
- Draft three mutations per behavior
- Run probe‑versus‑mutation matrix on a free server
- Keep only probes that catch at least one mutation
证据
A probe earns trust by failing on mutated code.
Four steps. No paid tools. No local GPU.
- 记录日期: 2026-09-07T19:14:57.119Z