Test Driven Development (TDD) is often reduced to the three phases
- Red – write a test
- Green – make it run
- Refactor – clean up code
There is nothing wrong about these three steps. But there is more involved in test-driving your development.

Agile, Test Driven Development
TDD