Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
(Track Sponsor)<br />Moving towards zero defects with Specification By Example<br />Steve Rogalsky<br />@srogalsky<br />wi...
Choose 2 of these topics to discuss:<br />Talk about your approach to quality and the results of that approach.<br />Talk ...
A story of Zero Defects<br />
A SCIENCE EXPERIMENT<br />
HYPOTHESIS:<br />Specification By Example improves Quality & Speed<br />
DEFINITIONS:<br />Acceptance Testing Is...<br />
What is <br />Specification By Example?<br />Goal: To <br />build the right thing <br />the first time.<br />
What is <br />Specification By Example?<br />Also known as / similar to: <br />   ATDD – Acceptance Test Driven Developmen...
To do this we:<br />1.<br />WRITE EXAMPLES <br />(Acceptance Tests)<br />(up front but not UP FRONT)<br />instead of requi...
To do this we:<br />2.<br />TEST AS SOON <br />AS POSSIBLE<br />FIRST<br />in<br />collaboration <br />with the developers...
To do this we:<br />3.<br />AUTOMATE our examples<br />
AN EXAMPLE:<br />Requirement: <br />Bring home something small from Europe<br />What I brought:<br />What she wanted:<br />
ANOTHER EXAMPLE<br />User Story: <br />As an employee I want to receive overtime pay<br />For each week, hourly employees ...
(40*$20) = $800.00<br />a standard wage per hour for the first 40 hours worked<br />
(40*$20) + (5*$20*1.5) = $950.00<br />1.5 times their wage for each hour after the first 40 hours<br />
2 times their wage for each hour worked on Sundays and holidays<br />(40*$20) + <br />(8*$20*1.5) +<br />(8*$20*2) <br />=...
2 times their wage for each hour worked on Sundays and holidays<br />(40*$20) + <br />(8*$20*1.5) +<br />(8*$20*2         ...
Executable Specifications<br />Credit: This example is from “The Role of Quality Assurance in Lean-Agile” – Allan Shallowa...
Defect Tracking<br />
Where should we focus our automated testing?<br />Later…<br />Focus Here First<br />UI<br />Services<br />TDD<br />Classes...
What does it take to set this up?<br />It is simpler than this…<br />'''<br />
Steps:<br />Download FitNesse (free)<br />Run FitNesse<br />Add A Reference to your project<br />Create a Fixture per set ...
How to do it?<br />Tester<br />Customer <br />and Team<br />Automate Examples<br />Expand into Examples<br />Choose Story<...
THE EXPERIMENT<br />
Airplane Factory!<br />Steps:<br /><ul><li>   Fold the paper in half
   Open the folded paper up and make two triangle folds for the ‘nose’ of the plane
   Re-fold the plane in half and fold two wings (one on each side…)
   Finally, fold two wing flaps</li></li></ul><li>CONCLUSIONS<br />
Nächste SlideShare
Wird geladen in …5
×

Moving Towards Zero Defects with Specification by Example

9.624 Aufrufe

Veröffentlicht am

Love tracing bugs in a defect tracking system? Love the bug-fix cycle? If so, then don't come to this presentation. We'll be discussing how Specification by Example (also known as Acceptance Test Driven Development) will help move you towards a zero defect system by building the right thing the first time.

Veröffentlicht in: Technologie
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

Moving Towards Zero Defects with Specification by Example

  1. 1. (Track Sponsor)<br />Moving towards zero defects with Specification By Example<br />Steve Rogalsky<br />@srogalsky<br />winnipegagilist.blogspot.com<br />
  2. 2. Choose 2 of these topics to discuss:<br />Talk about your approach to quality and the results of that approach.<br />Talk about your approach to requirements and how you keep those requirements up to date.<br />Talk about any previous experience with automated testing.<br />Talk about your team’s current bug tracking process.<br />Talk about zero defects – Is it possible? Is it responsible? Cost effective?<br />
  3. 3.
  4. 4.
  5. 5. A story of Zero Defects<br />
  6. 6. A SCIENCE EXPERIMENT<br />
  7. 7. HYPOTHESIS:<br />Specification By Example improves Quality & Speed<br />
  8. 8. DEFINITIONS:<br />Acceptance Testing Is...<br />
  9. 9. What is <br />Specification By Example?<br />Goal: To <br />build the right thing <br />the first time.<br />
  10. 10. What is <br />Specification By Example?<br />Also known as / similar to: <br /> ATDD – Acceptance Test Driven Development<br /> BDD – Behaviour Driven Development<br />
  11. 11. To do this we:<br />1.<br />WRITE EXAMPLES <br />(Acceptance Tests)<br />(up front but not UP FRONT)<br />instead of requirements<br />Given muppet <Animal> <br />When measuring <Craziness> <br />Then return <10><br />Given muppet <Animal> <br />When <Drumming> <br />Then return <Phenomenal Skillz><br />Given muppet <Animal> <br />When <talking> <br />Then return <Grunt><br />SPECIFICATION BY EXAMPLE<br />
  12. 12. To do this we:<br />2.<br />TEST AS SOON <br />AS POSSIBLE<br />FIRST<br />in<br />collaboration <br />with the developers and customers<br />
  13. 13.
  14. 14. To do this we:<br />3.<br />AUTOMATE our examples<br />
  15. 15. AN EXAMPLE:<br />Requirement: <br />Bring home something small from Europe<br />What I brought:<br />What she wanted:<br />
  16. 16. ANOTHER EXAMPLE<br />User Story: <br />As an employee I want to receive overtime pay<br />For each week, hourly employees are paid:<br />2 times their wage for each hour worked on Sundays and holidays<br />a standard wage per hour for the first 40 hours worked<br />1.5 times their wage for each hour after the first 40 hours<br />
  17. 17. (40*$20) = $800.00<br />a standard wage per hour for the first 40 hours worked<br />
  18. 18. (40*$20) + (5*$20*1.5) = $950.00<br />1.5 times their wage for each hour after the first 40 hours<br />
  19. 19. 2 times their wage for each hour worked on Sundays and holidays<br />(40*$20) + <br />(8*$20*1.5) +<br />(8*$20*2) <br />= $1,360.00<br />
  20. 20. 2 times their wage for each hour worked on Sundays and holidays<br />(40*$20) + <br />(8*$20*1.5) +<br />(8*$20*2 ) = $1,360.00<br />*1.5<br />
  21. 21. Executable Specifications<br />Credit: This example is from “The Role of Quality Assurance in Lean-Agile” – Allan Shalloway<br />
  22. 22. Defect Tracking<br />
  23. 23.
  24. 24.
  25. 25. Where should we focus our automated testing?<br />Later…<br />Focus Here First<br />UI<br />Services<br />TDD<br />Classes/<br />Functions<br />Credit: Testing Triangle first shown by Patrick Wilson-Welsh<br />
  26. 26. What does it take to set this up?<br />It is simpler than this…<br />'''<br />
  27. 27. Steps:<br />Download FitNesse (free)<br />Run FitNesse<br />Add A Reference to your project<br />Create a Fixture per set of examples<br />Write the examples<br />Press a button<br />
  28. 28. How to do it?<br />Tester<br />Customer <br />and Team<br />Automate Examples<br />Expand into Examples<br />Choose Story<br />High Level Tests<br />Passes All tests = done<br />Review<br />Code / TDD<br />Think about how<br />Developer<br />
  29. 29. THE EXPERIMENT<br />
  30. 30. Airplane Factory!<br />Steps:<br /><ul><li> Fold the paper in half
  31. 31. Open the folded paper up and make two triangle folds for the ‘nose’ of the plane
  32. 32. Re-fold the plane in half and fold two wings (one on each side…)
  33. 33. Finally, fold two wing flaps</li></li></ul><li>CONCLUSIONS<br />
  34. 34. TO SUMMARIZE<br />Specification By Example:<br />Communicate!<br />Write Executable Examples instead of requirements<br />The Tooling is simple to use and free<br />Zero Defects isn’t impossible – build it right the first time<br />Trash your Defect Tracker<br />
  35. 35. THANKS!<br /> Questions?<br />Links<br />Contact Info<br />http://gojko.net/fitnesse/<br />steve.rogalsky@protegra.com<br />http://fitnesse.org/<br /> @srogalsky<br /> winnipegagilist.blogspot.com<br />http://seleniumhq.org/<br />http://www.slideshare.net/SteveRogalsky/moving-towards-zero-defects-with-specification-by-example<br />

×