by tristian · 17y ago · 0 comments
Having said all that, I would be loathe to give up all my regression tests. The freedom I have to change major parts of the program knowing I have all the tests watching my back is invaluable. As is the benefit of being able to codify my hard won knowledge about edge cases and the like which I'm bound to forget and lose track of.
I just wish I didn't have to give up a more natural coding style to get the benefits of unit testing. Perhaps a language designed from the ground up to support unit testing is the answer?
"Decoupling" is a very useful tool. I think Joel's point of view was that unit testing often takes it to an extreme where the work to manage it outweighs the benefits. I personally don't agree with him. I think the benefits are too great to ignore. But I can certainly empathize with where he's coming from.