test-driven-development - Apply Test-Driven Development to features and bug fixes
Guides software development by writing failing tests first, implementing minimal code to pass, and refactoring while ensuring all tests pass.
Tags
Updated: 2026-09-21Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write failing tests
- Verify test failures
- Write minimal implementation code
- Verify tests pass
- Refactor implementation code
- Reproduce bugs with failing tests
Inputs
- Feature specifications
- Bug reports
- Test file paths
Outputs
- Test files
- Production code
- Test execution results
Requirements
- Test runner environment
- Human partner permission for exceptions
