3 ms·
All automated tests (unit, integration, functional ui) are regression tests I wish I had a way to get this across to people. Even Glenford Myers, who I otherwi
by mikestew 9y ago
All automated tests (unit, integration, functional ui) are regression tests
I wish I had a way to get this across to people. Even Glenford Myers, who I otherwise have great respect for, wrote some forty years ago that a test that doesn’t find any bugs is a waste of time. Every formal test I’ve written is a “waste of time” because if there’s a bug, I already found it while writing the test. The actual test is there simply to make sure the bug doesn’t come back.
If we can’t get this simple idea right, we can’t have a productive discussion on unit tests vs $OTHER_TESTS, etc.