Ping-Pong Programming

2,427 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,427
On SlideShare
0
From Embeds
0
Number of Embeds
49
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Ping-Pong Programming

    1. 1. Ping Pong Programming
    2. 2. 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.
    3. 3. Red Green Refactor Serves Player 1 Player 2 Write Test Implement Code Refactor
    4. 4. Red Green (no Refactor) Serves Player 1 Player 2 Write Test Implement Code
    5. 5. Green (no Red or Refactor) Serves Player 1 Player 2 Write Test
    6. 6. Goals• Maintains Developer Focus• Learning Atmosphere• Quick Fail & Refactor• Fully Tested Code
    7. 7. Simple Task Manager• Add Tasks• Complete Tasks• Assign priority• Order by priority

    ×