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?
On Fri, Jun 12, 2009 at 11:02 AM, Rasmus
Nielsen[email protected] wrote:
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.
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:
I’ve not read it, but its nice to see a whole book dedicated to
testing…
On Fri, Jun 12, 2009 at 11:13 AM, Gregory
Brown[email protected] wrote:
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.
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 A.
Unfortunately there are no Ruby-specific TDD books. All the good Rails
books
mention it in-passim…
What books would you recommend for a newbie in TDD?
/Test Driven Development/ by Kent Beck
/Test Driven Development/ by Dave A.
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.
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.)