Test-Driven Development by Example – Quick Review

Test-Driven Development by bxample by Kent Beck is one of the most famous book on software construction and for a reason.





Quick Review

The book is structured in three parts.

  • Part 1 – The Money Example. An example of typical model code written with TDD.
  • Part 2 – The xUnit Example. A more complex example of writing code with TDD implementing a testing framwork. It includes exceptions and reflection.
  • Part 3 – Patterns for TDD. Includes patterns on how to write test, what tests to write and a selection of best practices.

The style is unique and this is the most intruiguing aspect of the book. The authors speaks to you in a very informal way and you can feel the fact that he has been a developer in the real world and he’s familiar with the good and bad things that we, as developers, do every day. It’s like he knows you personally and teaches you a way to be a better developer. He explains his reasoning and he grabs your hands and guides you into the test driven development step-by-step.

I find this book enlightening and I consider it a must read for developers as much as Steve McConnel’s Code Complete 2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.