2 ms·
I'd definitely consider it. It's by the man who invested the concept of TDD and the xUnit framework after all :-) My experience is that people tend to split in
by adrianhoward 14y ago
I'd definitely consider it. It's by the man who invested the concept of TDD and the xUnit framework after all :-)
My experience is that people tend to split into two camps.
One group prefers Kent's book - which is kind of like the K&R of TDD. It's thin and very to the point, but needs a bit of work from the reader to get the best out of it. The examples are deliberately simple to express the concepts clearly.
The other prefers David Astel 's "Test-driven Development: A Practical Guide". It's a bit more grounded in real world examples, which some folk seem to find an easier way to get a grip on the concepts.
Another thing to bear in mind that they both talk about "old" versions of JUnit - before they rebuilt it based on attributes - so you're probably going to want to look at something that covers the latest JUnit or TestNG or something (I'm not a Java hacker by trade - so can't really comment on what the best testing environment is there these days).