2026-06-12 12:29 UTC
@awwaiid@mastodon.social - Manually spot check
- Run ordinary code linters on the tests or other "tests for your tests" tools
- Ask a bot from a different model (claude reviewing claude tends to not find problems, but chatgpt reviewing claude or vica versa is more likely to find problems if there are any)
- Instead of 100% coverage, get the code covered two or three times
- by default bots will write tests that assert current behavior. You have to ask them to specifically write failing tests to find bugs.
Replies (1)
-
@mistersql@mastodon.social 2026-06-12 12:29
If you want the rewrite to preserve current bugs, that might be what you want. Point is, the bot needs to know why you're writing the test suite.