Re:The maintainability of unit tests
by iamwil on Thursday February 25, 2010 @12:26PM
(#1151038)
The guy isn't against unit tests, but rather, what kind.
I've come to the same sort of conclusions as the OP myself. To me, the most important thing is the code, run test, cycle. If it's too slow, I get impatient and easily distracted. That happens when the code base just grows and grows. I'm not saying don't test. But test the weird corner cases and normal cases that you need to get right.
It's a tradeoff between having complete tests and having fast tests for me.
I've come to the same sort of conclusions as the OP myself. To me, the most important thing is the code, run test, cycle. If it's too slow, I get impatient and easily distracted. That happens when the code base just grows and grows. I'm not saying don't test. But test the weird corner cases and normal cases that you need to get right.
It's a tradeoff between having complete tests and having fast tests for me.