Re:Yagni (2015)
by plasticchris on Sunday August 12, 2018 @04:06PM
(#17746165)
I always thought tests were supposed to make refactoring easy since they ensure correctness. In practice I've only seen that a couple of times since the tests usually end up tightly coupled to the implementation.
[ Parent
| on HN ]
It's easy for tests to pick up structural artifacts from the code, creating friction for making changes instead of reducing it.
At the end of the day it's a matter of the quality of the tests. Bad tests can be worse than none (because at least you know to be afraid).