April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
What is TDD?
n“Before you write code, think about what it will do. 
n     Write a test that will use the methods you haven’t even written yet.”
nExtreme Programming Applied: Playing To Win
nKen Auer, Roy Miller
n“The Purple Book”
n
nA test is not something you “do”, it is something you “write” and run once, twice, three times, etc.
nIt is a piece of code
nTesting is therefore “automated”
nRepeatedly executed, even after small changes
n