• str82L @lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      If the same entity is both writing the code and testing the code it’s not great. Even though the code in this instance is there to support testing, it’s still being crafted by an ai that may one day also be expanded to create the tests themselves. It’s that scenario I’m concerned about. It’s part of the reason we do more than just unit test.

      • El Barto@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Hm, but isn’t usually the same developer who writes the code and the test?

        Why would it be an issue if an AI does the same?

        • str82L @lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Developers write and execute the unit test, and perhaps component test. Once you get past that to system testing it should be someone independent.