4 ms·
Good post, the only part I think I disagree with is > Never. Let. AI. Write. Your. Tests. AI writes all of my tests now, but I review them all carefully. Espe
by mgraczyk 1y ago
Good post, the only part I think I disagree with is
> Never. Let. AI. Write. Your. Tests.
AI writes all of my tests now, but I review them all carefully.
Especially for new code, you have to let the AI write tests if you want it to work autonomously. I explicitly instruct the AI to write tests and make sure they pass before stopping. I usually review these tests while the AI is implementing the code to make sure they make sense and cover important cases. I add more cases if they are inadequate.
- diwank 1y agoThe risk, in my experience, is to reach a state where you as the dev is not easily able to understand/update the tests. That becomes very tricky