Test-Driven Development

It is a book by famous extreme programming evangelist - Kent Beck, and takes the reader on a trip of early testing. The technique is called test-driven development, or test-first development.The book consists of three parts, in the first one Beck teaches us this new technique by developing a currency classes. Here we are taught step by step how to add test cases and after that, developing the code to be tested. In this part, the source code is in Java.

Horizon T73 Treadmill review - move your muscles and start jogging in-house

The next part, shows how to develop a testing framework (xUnit) by testing it first with a previous version of the same testing framework. It is an interesting approach, but somehow, it was not as interesting as the first example, maybe it was to abstract for me. This time the examples are written in Python.

And now for the real interesting part - the last part. This one consists test-driven patterns, such as red/green bar patterns, implementing design patterns etc. If you are not new to this kind of development, this part will be the most beneficial to you.

“Test-Driven Development” is well written, with a lot of humor, if you read any book by Kent Beck than you probably know this writing style. Each steps in the examples is thoroughly explained and really should make you think about giving this kind of development a try in the next project. Moreover if you know something or even develop your software this way, then the third part will show you how you could improve your techniques. The only drawback of the book is its length, it is too short. My recommendation is: buy it!.

Rating: 7 out of 10

Buy Test Driven Development: By Example (Addison-Wesley Signature Series)

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • DZone
  • BlogMemes
  • Technorati

One Response to “Test-Driven Development”

  1. The Pragmatic Programmer: From Journeyman to Master &middot KrisReviews Says:

    […] is a section about estimation of algorithms, refactoring, unit testing (you might want to check out Test Driven Development for an interesting technique based on unit […]

Leave a Reply

Pull me!



Literature Blogs - Blog Top Sites


Add to Technorati Favorites

Add to Google

Add to My Yahoo!


Calendar

November 2006
M T W T F S S
« Oct   Dec »
 12345
6789101112
13141516171819
20212223242526
27282930