Test-Driven Development
← Back to Advanced Testing Techniques
Red-Green-Refactor cycle. Write a failing test first (Red), write the minimum code to pass (Green), then refactor while keeping tests green. TDD is a design technique as much as a testing technique — tests drive the API design.
Key Properties
Related
- Behavior-Driven Development (extends TDD)