Hacker News new | ask | show | jobs
by marshalhq 7 hours ago
I ran mutation testing on a side project recently and found a test that passed even if the production method returned an empty string. AI-generated tests at scale will have exactly this problem. High coverage, confident test names, zero actual verification.
1 comments

Don't worry, AI maximalists have a solution: create tests for the tests.
That's what mutation testing is.