April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Why TDD?
nProgrammers dislike testing
nThey will test reasonably thoroughly the first time
nThe second time however, testing is usually less thorough
nThe third time, well..
nTesting is considered a “boring” task
nTesting might be the job of another department / person
nTDD encourages programmers to maintain an exhaustive set of repeatable tests
nTests live alongside the Class/Code Under Test (CUT)
nWith tool support, tests can be run selectively
nThe tests can be run after every single change
n