Re:Unit Testing: Is There Really Any Debate Any Longer?
by bryanlarsen on Wednesday September 12, 2012 @11:16AM
(#4511037)
That's the major problem with system tests, but it shouldn't be a big problem for unit tests. In my experience system tests are so fragile that the cost of upkeep is larger than the benefit gained except in a few cases. Unit tests on the other hand are much more stable.
[ Parent
| on HN ]
Re:Unit Testing: Is There Really Any Debate Any Longer?
by rwallace on Wednesday September 12, 2012 @02:44PM
(#4512294)
My experience is precisely the reverse. System tests are stable because they only need to change when the observable behavior of the entire system changes. Unit tests are intimately coupled to the internal structure, so if you use them, you have to change them every time you refactor so much as a single function.