this post was submitted on 05 Aug 2023
650 points (97.8% liked)

Programmer Humor

32000 readers
678 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year 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.