Alex Rivera | Logout

Recommend good online sample walkthrough of TDD?

Asked 2009-12-17T08:38:06.880
12

I find unit testing vital.

Several times I have tried the TDD but given up on it as sitting down with a piece of paper and drawing out a few diagrams first always seem more productive. As so many advocate the TDD I will keep trying.

I looked at this http://xprogramming.com/xpmag/sudoku5 (the last article of 5) but this seemed to highlight the difficulty I have with the approach.

Are there any good sample walkthroughs on the web based on a simple easily defined problem? This way I could try the approach again myself then compare with the sample. The sample would need to explain the thinking behind the approach.

I prefer to code in C# but have used Java.

Edit
Report

1 Answer

12

The XP bowling game episode in the usual example, it's a dialogue between two developers coding. Theit code is written in Java. It's a nice illustration of how design emerge, rather than being defined up front.

answered 2009-12-17T08:42:12.910

Your Answer