3 ms·
So... how do I know the other branch was correct without tests?
by chris_engel 5y ago
So... how do I know the other branch was correct without tests?
- pydry 5y agoYou don't. Not without further investigation. You need to figure out why they are different. Sometimes this technique catches bugs on prod that are unknowingly fixed with refactoring.
- ElViajero 5y agoThe test is done so you verify that your new code has not any side effect that had changed previous behavior. How do you know that your tests are correct? The problem is equivalent.