Comment on AI Coding Is Massively Overhyped, Report Finds
sugar_in_your_tea@sh.itjust.works 3 days agoUnit tests aren’t intended to find bugs, they’re intended to prove correctness. There should be a separate QA process for finding bugs, which involves integration testing. When QA inevitably finds a bug, the unit tests get updated with that case (and any similar cases).
only cover cases that you know will work
And that’s what code reviews are for. If your tests don’t sufficiently cover the logic, the change should be rejected until they do.