Re:Refactoring vs. defactoring
by Chris_Newton on Wednesday October 27, 2021 @06:56PM
(#29020056)
If you use very low level tests then sure, maybe you need to adjust your tests to match the adjustments in the rest of your refactored code. But since by definition a refactoring does not change the code’s observable behaviour, no tests above that level should be affected. I find that very low level tests tend to be fragile and have limited value in most situations as a result, so I don’t personally tend to use them much, but YMMV.
[ Parent
| on HN ]
There are no comments on this comment yet.