Test Driven Design for Ruby and Rails

| | Comments (6)

TDD.png

Here is the PDF version of my talk, Test Driven Design for Ruby and Rails.

6 Comments

Looking forward to a version that works under Windows.

Thanks for your slides. Some of them seem to have had movies in the original presentation. Would it be possible to upload those, too?

Very nice, looking forward to diving in.

I noticed one thing right off the bat to take issue with. TDD does not change the the order of operations to put "Make it right" first, it just makes the cycles small. "Make it right" is the refactoring step, and that comes -after- "Make it work" which is to say, "make the test pass".

I do grant that TDD tends to produce code that is somewhat more "right" up front inasmuch as it tends to have a better calling interface, and it tends to do be loosely coupled, but one of the key benefits of TDD is to take away the stress of having to think too far ahead and design things perfectly up-front. Each item can be fractored once its test passes, so no messy code will left behind as a lasting smell.

Steve, I most respectfully disagree with your assessment. However, I'll give it some more time/thought/effort and blog my explanation when I can.

Leave a comment