• FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      11 hours ago

      Why? That is a great use for AI. I’m guessing you are imagining that people are just blindly asking for unit tests and not even reading the results? Obviously don’t do that.

      • resipsaloquitur@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        9 hours ago

        Of course that’s what they’re doing. That’s the whole point. Generate a bunch of plausible-looking BS and move on.

        Writing one UT (actually writing, not pressing tab) gives you ideas for other tests.

        And unit tests are not some boring chore. When doing TDD, they help inform and guide the design. If the LLM is doing that thinking for you, too, you’re just flying blind. “Yeah, that looks about right.”

        Can’t wait for this shit to show up in medical devices.