• kd45@lemm.ee
    link
    fedilink
    arrow-up
    5
    arrow-down
    14
    ·
    1 year ago

    If you cannot tell the difference between an exception and a failed assertion, you may need to re-evaluate your career choices

    • jedibob5@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 year ago

      Bugs in tests aren’t necessarily exceptions. You could be incorrectly setting up your function inputs, or just making the wrong assertions.