3 ms·
> "Is the test failing because the test is out of date? Or is our program causing a bug?" IMO, when you change code (extensively), you'd still have to invariab
by antrix 14y ago
> "Is the test failing because the test is out of date? Or is our program causing a bug?"
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.
- justincormack 14y agoIndeed. 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.