Image 1 of 1: ‘Illustration showing three phases of Test-Driven Development cycle: Red (failing test), Green (passing test), and Refactor (improving code)’
The Red-Green-Refactor cycle: Write a failing
test (Red), implement minimal code to pass it (Green), then refine the
code while keeping tests passing