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.•   ...
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
Upcoming SlideShare
Loading in...5
×

Ping-Pong Programming

1,749

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
1,749
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
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
    1. Gostou de algum slide específico?

      Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

    ×