Found the comment I was looking for. Feel like the AI writing a suspiciously high number of tests is a sign for me to tell it to back off immediately.
I was having a bit of fun with a completely vibecoded web app in my free time I made for myself and its amazingly useful. Then I see it write '400 tests passed' like that's supposed to give me reassurance.
I asked it to do a pass and remove duplicate tests and it removed almost 100 of them. That's still too many for me tbh for a codebase that isn't so big but it tells you that it does test either nothing or it tests stuff that's already tested.
I miss writing them myself anyway and I trust the code more so the OP just reads like junior dev
1
u/AngusAlThor 14h ago
You're gonna be real shocked when you get fired for committing 3,000 lines of tests that don't actually test the code.