• mspencer712@programming.dev
    link
    fedilink
    arrow-up
    156
    arrow-down
    1
    ·
    9 months ago

    Love this, 100% accurate. QA people are amazing, protect us from ourselves in so many ways we didn’t even think of.

    • nogooduser@lemmy.world
      link
      fedilink
      English
      arrow-up
      64
      ·
      9 months ago

      I wish our test team was like that. Ours would respond with something like “How would I test this?”

      • humanspiral@lemmy.ca
        link
        fedilink
        arrow-up
        5
        arrow-down
        7
        ·
        9 months ago

        Programmer should have written all the test cases, and I just run the batches, and print out where their cases failed.

        • snooggums@lemmy.world
          link
          fedilink
          English
          arrow-up
          23
          ·
          9 months ago

          Ewww, no. The programmer should have run their unit tests, maybe even told you about them. You should be testing for edge cases not covered by the unit tests at a minimum and replicating the unit tests if they don’t appear to be very thorough.

          • mspencer712@programming.dev
            link
            fedilink
            arrow-up
            6
            ·
            9 months ago

            This.

            My units and integration tests are for the things I thought of, and more importantly, don’t want to accidentally break in the future. I will be monumentally stupid a year from now and try to destroy something because I forgot it existed.

            Testers get in there and play, be creative, be evil, and they discuss what they find. Is this a problem? Do we want to get out in front of it before the customer finds it? They aren’t the red team, they aren’t the enemy. We sharpen each other. And we need each other.

          • nogooduser@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 months ago

            I think that the main difference is that developers tend to test for success (i.e. does it work as defined) and that testers should also test that it doesn’t fail when a user gets hold of it.

    • hakunawazo@lemmy.world
      link
      fedilink
      arrow-up
      53
      ·
      9 months ago

      But they still don’t think of all common user possibilities. I like this joke:

      A software tester walks into a bar.

      Runs into a bar.

      Crawls into a bar.

      Dances into a bar.

      Flies into a bar.

      Jumps into a bar.

      And orders:

      a beer.

      2 beers.

      0 beers.

      99999999 beers.

      a lizard in a beer glass.

      -1 beer.

      “qwertyuiop” beers.

      Testing complete.

      A real customer walks into the bar and asks where the bathroom is.

      The bar goes up in flames.

    • Shanmugha@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      9 months ago

      Yes, I second this. QA has caught so many things that did not cross my mind, effectively saving everyone from many painful releases