Ping-Pong Programming
Upcoming SlideShare
Loading in...5
×
 

Ping-Pong Programming

on

  • 1,853 views

 

Statistics

Views

Total Views
1,853
Views on SlideShare
1,846
Embed Views
7

Actions

Likes
0
Downloads
5
Comments
0

3 Embeds 7

http://tracks.roojoom.com 4
http://www.linkedin.com 2
https://twitter.com 1

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Ping-Pong Programming Ping-Pong Programming Presentation Transcript

  • Ping Pong Programming
  • Game Play• Player A serves by writing a test.• If the test passes, Player 1 faults and the serve goes to Player B.• If the test fails, Player B returns by implementing the code to make the test pass.• If refactoring is needed, Player A must perform the refactoring, taking the point.• If no refactoring is needed, Player B takes the point and Player A re-serves.
  • Red Green Refactor Serves Player 1 Player 2 Write Test Implement Code Refactor
  • Red Green (no Refactor) Serves Player 1 Player 2 Write Test Implement Code
  • Green (no Red or Refactor) Serves Player 1 Player 2 Write Test
  • Goals• Maintains Developer Focus• Learning Atmosphere• Quick Fail & Refactor• Fully Tested Code
  • Simple Task Manager• Add Tasks• Complete Tasks• Assign priority• Order by priority