tdd-guard
« Back to VersTracker
Description:
Automated TDD enforcement for Claude Code
Type: Formula  |  Latest Version: 1.1.0@0  |  Tracked Since: Dec 24, 2025
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 1,626  |  Forks: 116  |  Language: TypeScript  |  Category: Developer tools
Tags: tdd testing git-hooks developer-tools claude-code
Install: brew install tdd-guard
About:
TDD Guard is a CLI tool that enforces Test-Driven Development practices by preventing code commits that lack corresponding test changes. It integrates with Git hooks to automatically verify that test files are modified alongside source code, ensuring compliance with TDD principles. The tool is specifically designed to work with Claude Code, providing automated enforcement for AI-assisted development workflows.
Key Features:
  • Automated Git hook integration for TDD enforcement
  • Source and test file correlation detection
  • Claude Code workflow compatibility
  • Configurable test coverage requirements
  • Non-blocking or blocking commit modes
Use Cases:
  • Enforcing TDD discipline in team development environments
  • Preventing technical debt by ensuring tests accompany all code changes
  • Integrating with Claude Code AI assistant workflows for quality assurance
  • Mentoring junior developers on proper TDD practices
Alternatives:
  • husky – General Git hook manager without TDD-specific enforcement
  • jest – Test runner that doesn't enforce pre-commit test coverage
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:55pm 1.1.0 0 VERSION_BUMP 36bdf982
Sep 26, 2025 3:13pm 0 VERSION_BUMP 8842124a
Sep 13, 2025 4:06pm 0 VERSION_BUMP 1268f1a5
Sep 13, 2025 12:18pm 0 VERSION_BUMP 6ea7fb53
Sep 13, 2025 4:59am 0 VERSION_BUMP 46189013