TDD Skill
Use when
- •Implementing new behavior where correctness matters
- •Fixing bugs with unclear boundaries
Loop
- •Write a failing test
- •Implement the minimal fix
- •Refactor safely
- •Re-run tests
Done criteria
- •Tests cover the intended behavior
- •No unnecessary refactors