• abigscaryhobo@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    AI generated test cases are exactly the fight I’m about to have to go through. It’s gonna be such a metric pain in the ass

    • AA5B@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      This is a narrow area where ai can help, but like anything else, someone needs to go over it. I’ve used it successfully here, but I evaluate the results and iterate it correctly its mistakes

      Last time I worked with this guy he had generated more test cases than there were on the entire product, yet his module still managed less coverage. Lots of useless test cases, lots of test cases that don’t verify anything, lots of duplication. Most importantly it’s generating lots of code that now has to be run on every build and needs to be maintained forever