logoalt Hacker News

Glyptodonyesterday at 11:47 PM1 replyview on HN

That people don't realize full test coverage just means every line is hit, not that everything is correct is always funny to me. (I don't view as an argument against tests, but with AI it's especially important as if you're aren't careful it'll be very happy to make coverage that is not quite right.)


Replies

coffeefirsttoday at 2:14 AM

Correct. Tests don’t tell you the code works. They tell you that something changed that impacts the test since the last time it did work.