• dpflug
    link
    fedilink
    3611 days ago

    This became a religious war at my last role.

    • @andrefsp@lemmy.world
      link
      fedilink
      10
      edit-2
      11 days ago

      I had a similar one at a past work too. A test which was asserting a response status 500.

      Like, instead of the test asserting the correct error/status code was being returned, it was instead asserting any error would simply getting masked as a 500.

      Basically, asserting the code was buggy…

      That made me angry a couple of times but I still miss that place sometimes.