Posts
1150
Comments
891
Trackbacks
1
Does anyone actually do TDD?

Obviously, the answer is yes.  The person who first convinced me that “all that agile stuff” was really the direction to look towards (note, that’s “a direction to look towards”, not “embrace uncritically”, but I digress) practiced it.  Or at least, he always had his NUnit test runner up, and I could tell when he was too busy to chat by looking at the status of his tests (when they were all green, I figured he was probably goofing off).

I ask the rhetorical question though based on the lead to one of Rob’s posts:

“One thing I've never seen anyone do, for real, is Test-driven Development. We've all sat through the demos of "Red, Green, Refactor" and the To-do list - but never have I seen the presenter do something "Real". That changed last week and it was pretty fun.”

Wait a minute.  I’m confused.  Isn’t Rob a practitioner of TDD?  I swear he did some stuff back when he was at Microsoft, something about an MVC storefront…hmm, isn’t this it?:

“I'm creating an ongoing series of webcasts and blog posts, documenting the building of an eCommerce storefront using ASP.NET MVC. It's important to understand that this application has not been built yet - you're gonna help me do it :).

The goal is to build this application as openly, and "currently" as possible using an Agile approach with TDD.”

Yeah, I thought so.

Now, to be clear, this fits quite nicely with another comment that Rob himself made in another post:

“TDD is a design process - not a coding process. Anything with the words "design" and "process" unavoidably are spawned from a theory, and invariably there are those who the theory works for who have the "Sudden Ray of Light" and think that you should have this too. And as with every theory there are the workers who kick some of the theory to the curb in favor (in their eyes) getting some work done.

I'll summarize my point by saying that TDD is discussed far more than it is applied”

One of the common comments I’ve seen in blog posts by people who have embraced TDD (or at least attempted to do so) is something along the following: “I’ve been doing TDD for a year or so now and what I’ve discovered is that I’ve been doing it wrong.”

This fits in nicely with something I’ve talked about for a long time.  Having tests for your code, speaking generally, is a good thing.  Doing TDD itself is not.

I suppose I should pay the $12 and watch the session Rob did with Brad to see how it went.

posted on Sunday, August 21, 2011 8:06 PM Print
Comments
Gravatar
# re: Does anyone actually do TDD?
Dennis
8/22/2011 2:40 AM
You absolutely should, it's fun, educational, and 12 bucks well spent.
Gravatar
# re: Does anyone actually do TDD?
jdn
8/22/2011 6:20 PM
@Dennis:

Okay. I'll try to find the time this week to watch it.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 2 and 8 and type the answer here: