tdd for the masses
TRANSCRIPT
#TDD4Masses
TDD Dance
Red
Green
Refactor
Write test ❌
Write simplest code to pass test ✅
Improve code 👷
Choose next functionality 🤔
Loop until done 🔄
#TDD4Masses
Simplest Code
Hard coded
Closer to the beginning of scope
Less indented
ShorterCredit Ray Osherove
#TDD4Masses
RecapRed, Green, and Refactor
Add min amount of code to pass
TDD is not only possible, but useful&cool!
Great coverage
Views can be tested
Good architecture helps