TDD

| TDD | Overview| Getting Started | Lets Play |
| Advanced Unit Tests ||
| CRC Cards | CRC Models | Cockburn CRC |
| OO Design |

Overview



Benefits of TDD
It is unfortunate that the word test is used to describe this technique, as the big benefit of TDD is not about testing code, the real benefit is as a design activity.

TDD encourages developers to consider the behaviour and responsibilities of the classes they are designing.   Like Class Responsibility Collaboration cards, the "test first" approach of TDD is a moment for the developer to seriously consider the design of the class by defining something that will test that class.

This design driven approach helps a developer create a good design and as a consequence you have a test to help maintain your code base.


Practising TDD

James Shore - Lets Play


Coding Kata



Code Retreats