Grande quantidade de tutoriais para aprender TDD. Não tenho condições de avaliar o nível do material, pois o meu nível ainda não permite. Se alguém mais experiente quiser prestar esse serviço, maravilha.
Já aprendi que o TDD é a junção (?amalgam?) entre as técnicas Test-First Development (TFD) e Refactoring. :shock: :shock: :shock:
Uma pequena demo:
[quote]
Test Driven Development (TDD) is the amalgam of two programming techniques: Test-First Development (TFD) and Refactoring. Looking at the first of these, TFD literally means that before you write some functional code (in whatever programming language you happen to favor) you first write a small piece of code to test the outcome or result of that functional code which doesn’t yet exist. It might sound bizarre, testing something that doesn’t yet exist, but that is exactly the point: you want your test to fail. Don?t worry, all will become clear by the end of the tutorial![/quote]