I do it sometimes, especially when the bug is hard to reproduce and I know exactly what's causing it. Sometimes it's quicker to write the tests than to test manually.
this post was submitted on 05 Aug 2023
689 points (97.9% liked)
Programmer Humor
32443 readers
915 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
Elaborate.
TDD is up there with CBT if no one knows how to implement it properly
load more comments
(2 replies)
You're goddamn right.
OOP is another case of nice in theory.
The dev who don't know how to TDD their poorly designed object oriented spaghetti code are downvoting you, lol. Wear that with pride, but be sure to charge extra when it's time to fix their shit.