Keith Braithwaite conducts a tutorial class on TDD based on the following technique: Add a test, See it fail, Make all tests pass, Refactor, and Repeat until done.
Keith Braithwaite is a Principal Consultant with Zuhlke Engineering in London. He also manages their Centre for Agile Practice. This group provides training, coaching, mentoring, toolsmithing, and straightforward development to enhance client teams’ capabilities.
Agile Cambridge 2011 is for anyone who wants to successfully apply or learn more about Adopting and evolving agile approaches; Agile software development; Agile product management; Agile testing; DevOps/Agile Operations; User experience and design in an agile world; Agile technical communications; Coaching and mentoring agile teams; Leadership; Tool and technology adoption; Distributed agile teams. The focus throughout the event is on sharing practical experience of these topics, in a range of sessions from beginner to expert.
One of the best videos I have watched on InfoQ. I love the simplicity of the approach. Like skiing though, it is harder to do than to understand.
As I watched the video I was struck how many of the approaches started with the inputs. It would be interesting to see what would happen if you restricted the exercise to start with the output.
Test 1. A winning board.
Test 2. An incomplete board.
Test 3. A board in stalemate.
I wonder if the developers would get caught up on the complexity of the internals that way?
Anyway, great session.
Poor - where was the benefit of instructors experience?
Some of the guys tried and failed - esp those guys with the 3*3 array....did they learn a lot? My guess is they learned to be turned off TDD.
Thought he could have given a few better hints + pointers, especially when they were trying to get out of the blocks.
Also would love to have been told at the end what Keith thought a good first test might be, and some reasons why.
I'd also suggest Keith read "Growing object oriented software, guided by tests".
Many notions in TDD have moved on and evolved some since the days of Kent Beck.
Slides link is broken