105
mrstebo
8y

The groaning sound you hear when someone in your office opens up that legacy code 😅

Comments
  • 10
    This was me today. It was the worst. I had to go through 2,000 lines of legacy unit test code and get each of like 20 tests to work with a component I updated.
  • 1
    It's funny 'cause it's true
  • 1
    @dfox Sounds to me like the tests weren't designed well. Was each test testing multiple things or something?
  • 0
    @vinaysshenoy they were designed terribly and pretty much just a gigantic file of crummy tests, many which were pretty repetitive yet used little to no helper methods.

    It was tedious to go through.
  • 1
    @dfox Better no tests than shitty tests, IMO.
Add Comment