• 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

  • bisby@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    arrow-down
    1
    ·
    9 months ago

    Based on the only comparison we have, the OP is twice the age of their sister. so the sister is now 44/2, or 22. Easy problem.

  • Agent641@lemmy.world
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    9 months ago

    I design software, another guy builds it, then I test it. I seem to have a really good intuition for ferreting out the edgiest of edge cases and generating bugs. Pretty sure he hates my guts.

    • x00z@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 months ago

      Project Managers and software designers are hated for their “designing”. The testing is always very welcome.

  • bampop@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    9 months ago

    If you were 4 and now you are 44 then you might be an integer variable. If sister is also a variable, we don’t know when she was allocated. She might also be an integer constant in which case she’s arguably immortal.

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    9 months ago

    I’m a programmer and my answer would be more like the tester’s answer.

    But okay I also used to be a tester so this comment is probably invalid.

  • CodexArcanum@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    9 months ago
    import birthday;
    
    let myAge1 = 4;
    let sisterAge1 = 2;
    let myAge2 = 44;
    
    let sisterAge2 = birthday.deriveAge(myAge1, sisterAge1, myAge2);
    
    print(sisterAge2);
    

    Any bugs should be reported upstream. Please open a tracking issue to sync changes with eventual upstream fixes.

    • Natanael@infosec.pub
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      The API has the wrong abstraction and the type definitions fail to capture necessary information (such as in which year you were of the given age) and thus conversions can not be guaranteed to be correct

  • _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    9 months ago

    Managers when a tester does this in a planning meeting, asking for more time to write better teats: 😠

    Managers when a staff level engineer does this in a post-fuckup root cause analysis meeting telling everyone what went wrong: 🤤

    Managers when the tester points out it wouldn’t have happened if tests for it had gotten written:

    • OwlPaste@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 months ago

      Probably? Nah mate, your box of stuff, has already been chucked out of the window… You are next