logoalt Hacker News

mrlonglong • today at 10:00 AM • 2 replies • view on HN

That's true but LLMs are a massive time saver when generating unit tests and other useful things for your work, leaving you free to write what really matters.


Replies

flykespice • today at 3:45 PM

Having a LLM also generate your unit tests defeats the purpose of checking whether a LLM generated piece of code is sound.

There will always need a human on the end to check if the LLM didn't hallucinate anything on it, including manually writing the unit tests.

bayesnet • today at 1:37 PM

Building useful tests are probably one of the things that LLMs are the worst at tbh. You end up with tests checking `2 * 2 == 4` and similar.