Ping-Pong Programming

  • 1,543 views
Uploaded on

 

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,543
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
5
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

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