Good books on TDD

R

Rasmus Nielsen

Generally, I really love reading books. I love reading *good* books even
more. It gives me this pleasant feeling of learning something new while
using my time optimally.

Therefore I spend quite some time finding the good books, and I really
hope it is OK for me bother you clever guys with this question.

Being five years late or so, I've just recently touched the surface of
TDD through online articles on the subject.

I have been using the built-in test framework in Rails a little, and now
I want to learn more about the basic theories behind driven development
as well as the best practices.

What books would you recommend for a newbie in TDD?

Thanks in advance.
- Rasmus / rrn.dk
 
G

Gregory Brown

I have been using the built-in test framework in Rails a little, and now
I want to learn more about the basic theories behind driven development
as well as the best practices.

Sorry for the direct plug, but I wrote something specifically for this purpose.

My upcoming book "Ruby Best Practices" has a fairly comprehensive,
somewhat framework-agnostic overview of testing principles and
practices.
http://oreilly.com/catalog/9780596523008/index.html

Should be printed within the next week or so. It's already at the
printers, and the full PDF is available now.

If you want a whole book on testing though, and are interested in
BDD/RSpec, you might want to check out the RSpec book, currently in
beta:
http://www.pragprog.com/titles/achbd/the-rspec-book

I've not read it, but its nice to see a whole book dedicated to testing...

-greg
 
G

Gregory Brown

Sorry for the direct plug, but I wrote something specifically for this purpose.

My upcoming book "Ruby Best Practices" has a fairly comprehensive,
somewhat framework-agnostic overview of testing principles and
practices.

I didn't specify how much content there was... in addition to using
tests occasionally throughout the book, the first chapter is dedicated
to TDD, and is about 30 pages long.
 
P

Phlip

Rasmus said:
Generally, I really love reading books. I love reading *good* books even
more. It gives me this pleasant feeling of learning something new while
using my time optimally.

Therefore I spend quite some time finding the good books, and I really
hope it is OK for me bother you clever guys with this question.

Being five years late or so, I've just recently touched the surface of
TDD through online articles on the subject.

I have been using the built-in test framework in Rails a little, and now
I want to learn more about the basic theories behind driven development
as well as the best practices.

What books would you recommend for a newbie in TDD?

/Test Driven Development/ by Kent Beck
/Test Driven Development/ by Dave Astels

Unfortunately there are no Ruby-specific TDD books. All the good Rails books
mention it in-passim...
 
R

Rick DeNatale

Rasmus Nielsen wrote:

/Test Driven Development/ by Kent Beck
/Test Driven Development/ by Dave Astels

Unfortunately there are no Ruby-specific TDD books. All the good Rails books
mention it in-passim...

Well, the PragProg's RSpec book, which is available in Beta form now,
does a VERY good job IMHO of teaching TDD/BDD in a Ruby context.

Also Noel Rappin's "Rails Test Prescriptions"
http://www.railsprescriptions.com/ is also in preparation and
available as an early release PDF. Although it starts from a
traditional tests afterwards usage of Test::Unit, it's evolving to
cover TDD/BDD more.


--
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
 
B

Bjørn Arild Mæland

What books would you recommend for a newbie in TDD?

Agile Software Development [1] by Robert C. Martin is an excellent
book that has thought me a lot about the TDD mindset (and indeed
development in general). Not Ruby specific, but the code isn't the
interesting part anyway. (There are Java and C++ examples, should be
pretty easy to follow even if you don't know those languages.)

[1]
http://www.amazon.com/Software-Deve...=sr_1_1?ie=UTF8&s=books&qid=1244833560&sr=8-1
 
R

Rasmus Nielsen

Gregory said:
Sorry for the direct plug, but I wrote something specifically for this
purpose.

My upcoming book "Ruby Best Practices" has a fairly comprehensive,
somewhat framework-agnostic overview of testing principles and
practices.
http://oreilly.com/catalog/9780596523008/index.html

No problem. Your book sounds very interesting. I'll definitely consider
picking up a copy!


And thank you all for your recommendations.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top