What problem does it solve?
Test-driven development prevents unverified code changes by forcing you to define expected behavior as a failing test before writing production implementation, reducing regressions and improving confidence in correctness.
Core Features & Use Cases
- Failing-test-first workflow: Turns requirements into a minimal test that fails for the right reason, then implements the smallest change to make it pass.
- Tight TDD cycle discipline: Enforces the red → green → refactor loop, including mandatory “verify fails” and “verify passes” steps.
- Behavior-focused test quality: Promotes clear, single-purpose test names and real-code assertions (avoiding mocks except when unavoidable).
- When to use / when to pause: Applies to new features, bug fixes, refactoring, and behavior changes, with explicit exceptions to discuss with a human partner for truly throwaway or generated/config scenarios.
Quick Start
Tell me the feature or bug you want to implement, and then guide me to write one minimal failing test, verify it fails for the expected missing behavior, write the smallest production code to make it pass, and finally refactor without adding new behavior.