tags:

views:

792

answers:

6

What book would you recommend to learn test driven development? Preferrably language agnostic.

+5  A: 

For me, this is the best one:

Rodrigo Guerreiro
+5  A: 
dfa
These seem old. I know the subject matter doesn't really age, but I expected more recent options, a priori. Am I worried over nothing?
cape1232
+1  A: 

Dave Astels' Test-Driven Development: A Practical Guide

Carl Manaster
A: 

I'm a big fan of almost anything from the Pragmatic Bookshelf, but these two really helped drive the point home for me:

The Pragmatic Programmer: From Journeyman to Master. This ages really well. I'd recommend it to any developer.

Pragmatic Unit Testing in C# with NUnit, 2nd Edition. Don't let the title scare you. The concepts are pretty language agnostic, even with the C# examples.

Bruce McGee
+3  A: 

Fairly recent reasonably written book The Art of Unit Testing. I am surprised it wasn't mentioned here.

Tomas Pajonk
+2  A: 

The Astels book is a solid introduction, Beck's book is good on the underlying concepts, Lasse Koskela has a newish one (I forget the title). Osherove's book, as he says, is about Unit Testing, rather than TDD. I'm not sure that the Pragmatics' TDD book has aged as well as their original book.

Most everything is Java or C#, but you should be able to figure it out yourself.

Steve Freeman
Lasse Koskela wrote "Practical TDD and Acceptance TDD for Java Developers", which was published in October 2007 - is that newish?
dnord
And ours is out now :) http://www.growing-object-oriented-tests.com
Steve Freeman