News for hackers. Stuff that matters.
Re:Programmers Should Never Trust Anyone, Not Even Themselves by drewcoo on Monday July 01, 2024 @02:07PM (#40848517)
Tests don't find bugs. They find things a developer needs to investigate.

Most tests I've seen aren't aids to diagnosability, so if there is a bug, the developer is still needed to find it.

> tests are written too early, using a data structure that gets changed in development

I wouldn't call this "too early," but "testing the wrong thing" if they were testing internal particulars instead of behaviors.

Re:Programmers Should Never Trust Anyone, Not Even Themselves by throwaway2037 on Friday July 05, 2024 @03:50AM (#40880609)

    > Tests don't find bugs.
I want to be make sure I understand your message here. When I write unit tests, I frequently find bugs in my own code. Are you talking about something different?