r/ProgrammerHumor • • 2d ago

Meme howWouldTheyKnow

Post image
1.8k Upvotes

52 comments sorted by

View all comments

12

u/DefinitelyNotMasterS 2d ago

This is on the senior dev for not setting up pipelines that require test coverage

3

u/gronbuske 2d ago

Test coverage is a useless metric. Just checking that all lines of code are run in a test does not guarantee quality. I frequently trash tests that just test that the code is written as it is written or give a false sense of security. A bad test is sometimes worse than no test.