this post was submitted on 05 Aug 2023
673 points (97.9% liked)

Programmer Humor

31217 readers
37 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 11 months ago

I mean, it sounds more like "The messier your project, the more difficult the unit testing". What you're describing sounds like issues with SRP and LoD. Which will inevitably happen as big projects get rushed, but let's place the blame where it belongs: rushing.

Yes unit tests take longer up front, but for projects that you need to update and maintain for a long time, they're a huge boon.

You can't do everything with a unit test obviously.