Ah yes, the classic "my tests pass in isolation" syndrome. The soldier in camo is proudly directing deadly weapons away from the sleeping person, congratulating himself on his amazing unit tests. Meanwhile, production code is getting absolutely shredded by edge cases that the tests never bothered to check for. Sure, your function works great when you pass it exactly what you expect... shame users don't read your mind and follow your undocumented assumptions.
Let's Call The Unit Tests Without The Parameter Always Present In The Use Case
2 months ago
143,956 views
0 shares

testing-memes, unit-tests-memes, edge-cases-memes, production-bugs-memes, test-coverage-memes | ProgrammerHumor.io
More Like This
Saw this in real-life production code so now I’m choosing violence
1 year ago
9.6K views
0 shares

Don't Release On Friday
4 months ago
154.1K views
0 shares


Monitor Stands (affiliate)
Loading more content...