designing test cases for the gilded rose kata (2013)
DESCRIPTION
Slides from Coding Dojo at Agile Testing Days 2013.TRANSCRIPT
![Page 1: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/1.jpg)
Coding Dojo:Designing Test Cases for
the Gilded Rose KataAgile Testing Days 2013
Peter Kofler, ‘Code Cop’@codecopkofler
www.code-cop.org
Copyright Peter Kofler, licensed under CC-BY.
![Page 2: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/2.jpg)
Peter Kofler
• Software Developerfor 14 years
• “fanatic aboutcode quality”
• I help development teams to do it right
• Pair Programming #CodeCopTour
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 3: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/3.jpg)
Expectations?
![Page 4: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/4.jpg)
Coding Dojo Mindset
● Safe place outsidework
● We are here to learn● Need to slow down● Focus on doing it right● Collaborative Game
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 5: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/5.jpg)
Dojo Structure
● Introduction 15'● Coding 30'● Interim (Retrospective) 15'● Break 25'● Coding 45'● Retrospective 15'
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 6: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/6.jpg)
TDD Skills
● Driving Development with Tests● Designing Test Cases ● Designing Clean Code● Refactoring Safely
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 7: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/7.jpg)
Welcome to team Gilded Rose
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 8: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/8.jpg)
Requirements
● Get the code https://github.com/codecop/GildedRose-Kata-ATD2013
● Read GildedRoseRequirements.txt● Choose a testing framework● Create tests, cover all cases
● Experiment with styles
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 9: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/9.jpg)
Don't Focus on Getting it Done.F0cus on Doing
It Perfectly.
![Page 10: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/10.jpg)
→Practice
![Page 11: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/11.jpg)
Closing Circle
● What did you learn today?
● What surprised you today?
● What will you do differently in the future?
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 12: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/12.jpg)
Please evaluate my presentation using the AgileTD Mobile App at www.touchmyconference.com/ATD2013
I appreciate your feedback.
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 13: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/13.jpg)
Peter Kofler@codecopkofler
www.code-cop.org
Kata by
Emily Bache@emilybache
http://coding-is-like-cooking.info/2013/03/writing-good-tests-for-the-gilded-rose-kata/
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY
![Page 14: Designing Test Cases for the Gilded Rose Kata (2013)](https://reader036.vdocuments.mx/reader036/viewer/2022081403/554a543ab4c9054b328b4a01/html5/thumbnails/14.jpg)
CC Images● Dojo http://www.flickr.com/photos/49715404@N00/3267627038/● Todos http://www.flickr.com/photos/kylesteeddesign/3724074594/● Inn http://www.flickr.com/photos/danielleblue/170496395/● Wants you http://www.flickr.com/photos/shutter/105497713/
PETER KOFLER, CODE-COP.ORG FANATIC ABOUT CODE QUALITY