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?
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.