6

If this unit test were a real person, I'dsmack it across the face with a steel pipe and shatter its spine with a spiked mace coated in acid. Then I'd toss the fucker into a pit full of a hundred angry, rabid weasels and snarling, hungry raccoons, sprinkle some ground chestnuts and cocaine and tell bastard to run until I see some goddamn green.

Comments
  • 1
    Nice rant.

    You may be thankful for that unit test when you don't have a week of production issues though 🙃
  • 0
    If a unit test was a real person it would be a coworker specifically instructed to make sure something doesn't happen, so your reaction to mentioning that you made it happen would probably not go over well with management — and reasonable people in general...
  • 0
    Maybe write code that doesn’t break unit tests?
  • 0
  • 1
    @100110111 not in this company where we have contractors who're not using any linters or doing any form of code quality anaysis (they write so many dupllicated static helper functions it's not even funny)
Add Comment