| ▲ | kragen 2 hours ago | |
Claude Opus 5.5 has really gotten me into mutation testing. It's definitely a lot slower than normal regression testing (you have to rebuild and rerun your whole regression test suite on each mutant, so you don't want to do it as often) but it has had salutary effects on the quality of the regression test suite. I had occasionally done tiny amounts of mutation testing informally before, and I'd sometimes practiced "test-first" coding where I run the test before implementing the functionality, which is a very lightweight version of mutation testing, but now I'm doing it enthusiastically. On the plus side, computers are faster now, so it's possible to run quantities of regression tests that would have been unthinkable 20 years ago. | ||
| ▲ | paimapi 19 minutes ago | parent [-] | |
You could just schedule nightly runs so your CI doesn't eat up all your time. I was doing an audit of CI tails across our repos and our worst offenders had something like 17 hours of wait time weekly from flaky runs alone for a team of six or so. Adding mutants on top of that would have been brutal. Computers are faster now but if you have a cruddy test suite, it will still feel like you're trying to watch a Liveleak video on 56k while you wait to merge. Wish teams would sic agents to adversarially assess and improve their existing test suites before they talk about getting a full E2E suite or integrating test oracles and mutants. Get good at identifying the qualities of what makes a test good instead of just performative coverage. | ||