Test Driven Development - Kent Beck
Just read Kent's new book on a plane trip to Chicago. I've been dabbling with TDD for a little over 6 months now, but the book was definitely worth reading.
As Joe said to me "it's written like a pairing session" which I agree with, and the theme that crops up most strongly to me is that the red/green cycle is very short for Kent - he explains why and I'm interested to try his style.
One of the other things I liked was the number of different little techniques that come out, for example the "Log string" testing pattern which is a simple way of testing the order of methods being called.
Stuff that isn't in the book is a detailed look at specific extensions (eg there's only a page and a half on Mock Objects), but that's kind of in the spirit of the book being fairly lightweight.
I definitely recommend it for new and existing Test-first/TDD'ers
11:44:20 PM
|