Testing

Test-Driven Development

Write a failing test first, then write the minimum code to make it pass, then refactor. Tests drive the design.

RedWrite failing test
GreenMake it pass
RefactorClean up