2 ms·
I wasn't able to force the agent to write failing tests yet. Although I'm sure it should be possible to do.
by scotty79 8mo ago
I wasn't able to force the agent to write failing tests yet. Although I'm sure it should be possible to do.
- himlion 8mo agoI do that all the time with Claude. What part is not working?
- scotty79 8mo agoI don't really use anthropic models. But when I tried it with others they can write tests but they never confirm that they fail before they proceed to make implementation that causes them to pass. Maybe I didn't prompt it forcibly enough.
- catlifeonmars 8mo agoI haven’t tried this (yet), but I’ve heard of people disabling write access to test code while the agent is writing implementation and vice versa. I imagine “disabling” could be done via prompting, or just a quick one liner like: chmod -r 0644 ./tests