If the tests pass, then everything is fine… Unless we expected the tests not to pass…then it’s time to burn the codebase down and try again after a long vacation to clear our heads.
Of course, I’ll usually settle for fixing the test suite after a long weekend. But in my heart, I’ll know what I should have done…
What if all the tests pass?
If the tests pass, then everything is fine… Unless we expected the tests not to pass…then it’s time to burn the codebase down and try again after a long vacation to clear our heads.
Of course, I’ll usually settle for fixing the test suite after a long weekend. But in my heart, I’ll know what I should have done…
…or you can just delete the failing tests :)
Work smarter not harder
Delete all the tests!
If the tests don’t give any insight into the functionality it is testing, they are probably not the best tests.