3 ms·
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 u
by plasticchris 8y ago
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.
- hinkley 8y agoIt'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).