Skip to content

Comment on We created the first open source implementation of Meta's TestGen–LLMparent

Comments

How do people feel about LLM generated tests?

LLM generated tests are the ultimate response to “Our CTO wants high test coverage but we all know it’s bullshit and provides little to no value”. They exist to tick a checkbox.

Maybe there’s a little value in using these as regression tests. Beyonce rule and all that. Kinda like double entry accounting. “Oh the code makes the same mistake in 2 places, that must mean it’s on purpose”

Beyonce rule and all that

If you fixed it then you should have put a test on it?

Yes. The problem with automatically deriving tests from your implementation is that you’re no longer testing your intent, just your implementation. Your tests and your code will have the same bugs dutifully recorded in 2 places.

Your Beyonce rule no longer means “I meant to do that” it now means “I wrote what I wrote”

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.