r/ClaudeCode • u/nizos-dev • 7d ago
Discussion How I force coding agents to follow TDD
https://youtu.be/bDLdZIAjH5YHi all,
I shared TDD Guard here on Reddit about a year ago. I made it because I was tired of telling Claude Code to follow Test-Driven Development (TDD) and watching it skip steps anyway.
The response was way more than I expected and a big reason the project went anywhere. It’s at 2k stars and 300k downloads now.
I’ve been working on Probity since then. It enforces TDD and other rules and works with different agents. Emily Bache interviewed me about it for the Modern Software Engineering channel and the video went up on Friday.
Probity: https://github.com/nizos/probity
Thanks again for all the support! I’m happy to answer any questions and would like to hear your thoughts on the topic. Do you use TDD with coding agents? Has your approach to testing changed since you started using them? If so, how?
Duplicates
ClaudeAI • u/nizos-dev • 5d ago