Coding Dojo:
Refactoring the
Tennis Kata
Agile Testing Days 2013
Peter Kofler, ‘Code Cop’
@codecopkofler
www.code-cop.org
...
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Peter Kofler
• Software Developer
for 14 years
• “fanatic about
co...
Expectations?
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Coding Dojo Mindset
●

Safe place outside
work

●

We are here to ...
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Dojo Structure
●

Introduction 15'

●

Coding 30'

●

Interim (Ret...
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

TDD Skills
●

Driving Development with Tests

●

Designing Test Ca...
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Scoring in Tennis Game
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Requirements
●

Get the code
https://github.com/codecop/Tennis-Kat...
Don't Focus on
Getting it Done.
F0cus on Doing
It Perfectly.
→Practice
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Closing Circle
●

What did you learn today?

●

What surprised you...
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Please evaluate my presentation
using the AgileTD Mobile App at
ww...
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

Peter Kofler
@codecopkofler
www.code-cop.org

Kata by

Emily Bache...
PETER KOFLER, CODE-COP.ORG

FANATIC ABOUT CODE QUALITY

CC Images
●

Dojo http://www.flickr.com/photos/49715404@N00/326762...
Upcoming SlideShare
Loading in …5
×

Refactoring the Tennis Kata (2013)

2,195 views

Published on

Slides from Coding Dojo at Agile Testing Days 2013.

Published in: Technology, Sports
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,195
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Refactoring the Tennis Kata (2013)

  1. 1. Coding Dojo: Refactoring the Tennis Kata Agile Testing Days 2013 Peter Kofler, ‘Code Cop’ @codecopkofler www.code-cop.org Copyright Peter Kofler, licensed under CC-BY.
  2. 2. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Peter Kofler • Software Developer for 14 years • “fanatic about code quality” • I help development teams to do it right • Pair Programming #CodeCopTour
  3. 3. Expectations?
  4. 4. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Coding Dojo Mindset ● Safe place outside work ● We are here to learn ● Need to slow down ● Focus on doing it right ● Collaborative Game
  5. 5. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Dojo Structure ● Introduction 15' ● Coding 30' ● Interim (Retrospective) 15' ● Break 25' ● Coding 45' ● Retrospective 15'
  6. 6. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY TDD Skills ● Driving Development with Tests ● Designing Test Cases ● Designing Clean Code ● Refactoring Safely 
  7. 7. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Scoring in Tennis Game
  8. 8. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Requirements ● Get the code https://github.com/codecop/Tennis-Kata-ATD2013 ● ● ● Focus entirely on Clean-up Refactor in small steps ● Experiment with approaches Run tests often
  9. 9. Don't Focus on Getting it Done. F0cus on Doing It Perfectly.
  10. 10. →Practice
  11. 11. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Closing Circle ● What did you learn today? ● What surprised you today? ● What will you do differently in the future?
  12. 12. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Please evaluate my presentation using the AgileTD Mobile App at www.touchmyconference.com/ATD2013 I appreciate your feedback.
  13. 13. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY Peter Kofler @codecopkofler www.code-cop.org Kata by Emily Bache @emilybache http://emilybache.blogspot.co.at/2011/08/refactoring-kata-fun.html
  14. 14. PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY CC Images ● Dojo http://www.flickr.com/photos/49715404@N00/3267627038/ ● Todos http://www.flickr.com/photos/kylesteeddesign/3724074594/ ● Tennis http://www.flickr.com/photos/gagillphoto/3706167856/ ● Wants you http://www.flickr.com/photos/shutter/105497713/

×