3 ms·
While I occasionally have the pleasure of creating or working with a test suite that's interesting and creative relative to the code under test, the vast majori
by closeparen 2y ago
While I occasionally have the pleasure of creating or working with a test suite that's interesting and creative relative to the code under test, the vast majority of unit tests by volume are slop. Does it call the mock? Does it use the return value? Does "if err != nil { return err }" in fact stop and return the error?
This stuff is a perfect candidate for LLM generation.