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.
Someone told me the best use of AI was writing unit tests and I died on the inside.
I’ve caught “professionals” pasting code from from forums and StackOverflow. Of course people are just blindly using LLMs the same way. Incredibly naive to think people aren’t already and won’t do so more in the future.