• Feyd@programming.dev
    link
    fedilink
    arrow-up
    11
    ·
    23 hours ago

    I find AI is amazing at writing unit tests

    Some of my coworkers say this too. The tests are generally garbage that don’t test what they say they do. All this says is that you don’t care how useful your tests are outside of checking a box

    • iocase@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      19 hours ago

      Yes you have to verify it yourself you don’t just trust it. The biggest benefit is tests are extremely to read and falsify like simple scripts. It’s faster to generate it than type it by hand, and any edits I make are minimal or require a reprompt that gets it right the second time.