Hacker News
points by mrlonglong 1 day ago | 0 comments
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.
[–] bayesnet 20 hours ago
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.
[–] flykespice 18 hours ago
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.

Hacker News