How do you stop GPT from generating junk unit tests all the time?

zeeg · x · 2026-07-29

The author asks for a testing policy, doc, or skill that can stop GPT from producing low-value unit tests.

Their preference is to focus on higher-level tests that cover multiple behaviors, with only a minimal number of unit tests. The problem is that GPT keeps generating junk unit tests despite repeated attempts to steer it away from them.

Original post →

More from coding & agent

coding & agent channel →