Hacker News new | ask | show | jobs
by zmj 972 days ago
> the tests always pass

> it happens often that, even if the changes looks reasonable they are wrong

I’m having trouble reconciling these two statements.

When I review code, I’m rarely looking for bugs. Instead I’m looking for tests that would catch those bugs.

1 comments

Do you have tests that verify that an abstraction hasn't sprung a leak?