In this clinic session, attendees will pair-program on implementing small software application features following the TDD Ping Pong game rules. Each game will last for a few minutes, and the programmer with the least time driving (i.e. doing the simplest thing that works and coming up with the most tests) will be declared winner. This game is a great opportunity to sharpen your TDD, refactoring, and pair programming skills Winners will receive prizes, so get ready for Andy and Dave’s challenge!
The TDD Ping Pong game is played with developers who practice pair-programming and test-driven development while building software application features. The game works as follows:
At the end of developing the required feature, implementation times are compared between both developers and the one with the least time wins. Therefore, to win, one has to write no more than enough code to pass the test, and one has to come up with as many tests as possible to make the other developer write more implementation.
Here are the details of how the competition will be run:
Andy and Dave will actively comment during the games to coach people on pair-programming and test-driven development best practices.