3 ms·
I mean, there's a spectrum here. I don't think anybody is going to argue that that java.util.LinkedList shouldn't have tests. On the other end of the spectrum,
by thurn 13y ago
I mean, there's a spectrum here. I don't think anybody is going to argue that that java.util.LinkedList shouldn't have tests. On the other end of the spectrum, there are things that obviously shouldn't be tested (getters and setters, whether some div has 10px of padding, etc). Tests are are how you lock down your software once it's ready to be frozen. You use them to turn software into hardware, to use an analogy from Steve Yegge [1].
[1]: http://steve-yegge.blogspot.com/2007/01/pinocchio-problem.html http://steve-yegge.blogspot.com/2007/01/pinocchio-problem.ht...