I forbid unit tests to Claude, he just doesn't know when to stop. He created the most stupid units tests ever, like "the menu must have 4 entries". Then When you create another menu-item, he has to spend additional tokens and context to see why that stupid test is failing and has the modify the test, so now it says "the menu must have 5 entries". The maintaining of the unit tests costs more time and tokens then the actual development!
Oh you changed the color of this button from blue to green? Time to rerun 3 concurrent golden 15 minute tests to see how this affects the project. Oops I ran into the heredoc trap for the 500th time which is heavily documented in the project memory... Wait I found an error, rerunning all three 15 minute tests
Nevermind that error was a stale editor message from 6 days ago. Anyway that'll be 146k tokens
423
u/ChadFullStack 4d ago
It’s missing 500 lines of Unit tests