Re:Unit Testing: Is There Really Any Debate Any Longer?
by justincormack on Wednesday September 12, 2012 @09:22AM
(#4510490)
Indeed. The tests tell you that you are breaking a contract that you once thought was important. It might not be any more, but good tests reflect good contracts. Removing the test requires you to think whether any other code expects this contract.
IMO, when you change code (extensively), you'd still have to invariably answer those questions. But in the absence of tests, it becomes much harder to find the answers.