• phorq
      link
      fedilink
      Español
      arrow-up
      89
      ·
      3 months ago

      Yup, and they’re run on an estimated 8.5 million test machines

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      19
      ·
      3 months ago

      Yeah, but I think apparently the tests that “could” have caught it relied on mocks which basically rendered it useless in those cases.

      • teejay@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        3 months ago

        Ah yes. The unintended consequences of mandated code coverage without reviewing the tests. If you can mock the shit out of the test conditions to always give you exactly the answer you want, what’s the point of the test?

        It’s like being allowed to write your own final exam, and all you need to pass the exam is 90% correct on the questions you wrote for yourself.

      • CrypticCoffee
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        Unit tests, yes, but you don’t only do unit tests. Integration and e2e tests still exist.