Main Contents

Ping Pong Development to Teach TDD

test driven development, software development

I came across a post by Dave Hoover explaining a technique he called Ping Pong Programming.

  • Developer A writes a new test and gets a red bar.
  • Developer B implements the code to get to a green bar.
  • Developer B writes the next test.
  • Developer A implements it.

And of course you’re allowed to refactor where ever reasonable. I hadn’t thought about this in respect to pairing up with my developers as I try to get them hooked on TDD, but it seems a very good pattern for learning how the process works. And of course it becomes sort of a fun competitive game.

Technorati Tags:
, ,

Ed Gibbs @ January 22, 2006

1 Comment

  1. Jamming With Mr. Mo - sfeldman.NET July 4, 2008 @ 10:33 pm

    […] TDD PPP (ping pong pairing) with a developer that has same attitude as you are is amazing. Ready to push […]

Leave a comment


Feed