Uncle Bob prepared an article + step by step tutorial about TDD it is called Bowling Game Kata and is really showing off what is TDD about. It is about writing your code starting with tests. And as everybody knows tests included into the code are highly required cuz they are simply usage examples of ‘how to use’ this code. I recommend this article The Bowling Game Kata (there is ppt to download)