this post was submitted on 30 Jan 2025
807 points (98.0% liked)
Programmer Humor
20188 readers
1658 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What if all the tests pass?
If the tests don't give any insight into the functionality it is testing, they are probably not the best tests.
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!