3 ms·
>When was the last time that you caught a significant bug with a test? Tests only really catch bugs when you're refactoring the implementation of something whi
by Eleopteryx 8y ago
>When was the last time that you caught a significant bug with a test?
Tests only really catch bugs when you're refactoring the implementation of something while trying to keep its behavior the same. You're right, in many ways, tests exist to be broken. But they still serve their purpose. They either break because you unintentionally changed behavior and need to fix your code, or because you intentionally changed behavior and need to change your tests.