If I see that my tests are threatening to hinder refactoring
If I see that my tests are threatening to hinder refactoring, then I look for the missing abstraction that provides the needed reduction in coupling, extract it, and the problem disappears. Indeed, this is how I learned to really understand how to engage the power of abstraction.
- J.B. Rainsberger at The Code Whisperer