test-driven-development - Test-Driven Development (TDD) Workflow
Guides feature and bugfix implementation by writing failing tests first, writing minimal passing code, and refactoring.
Tags
Updated: 2026-09-21Capabilities
Typical Outputs
What this skill does
- Write failing tests first
- Verify test failure cause
- Write minimal code to pass
- Verify tests pass clean
- Refactor code safely
- Reproduce bugs with failing tests
Inputs
- Feature requirements or bug reports
- Source code and test files
- Test execution commands
Outputs
- Automated test files
- Implementation code
- Refactored codebase
- Test execution results
Requirements
- Test runner or test framework
- Project codebase
