BDD agile china2012_share

699 views

Published on

My session on BDD at Agile Conference China 2012

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
699
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

BDD agile china2012_share

  1. 1. BEHAVIORDRIVENDEVELOPMENTAdding value with less work
  2. 2. GIUSEPPE DE SIMONE › Agile/Lean coach, Trainer, Lecturer, Change catalyst, Visionary, Scout leader. Passionate to help people grow. › mail: giuseppe.desimone@ericsson.com › Twitter: @giusdesimone › web: – Agile Coaching Network – http://it.linkedin.com/in/giuseppedesimonePage 2
  3. 3. MANIFESTO OF SWCRAFTSMANSHIPPage 3
  4. 4. nt m ou h ea g t ial. izin ent xim ess m a - is of e - art on th e o t d t y -- rk n lici f wo S imp oDELIVER AS FAST ASPOSSIBLE Page 4 Learn as fast as possible
  5. 5. BDD IN A NUTSHELLPage 5
  6. 6. BDD IS NOT ABOUT TESTING... …IT’S ABOUT DEVELOPMENT!Page 6
  7. 7. USER STORY As a Returning Customer I want the system to remember my details so I can purchase goods more quickly. Acceptance criteria: Scenario: Review Details Before Purchase Given I’m on the Amazon website And I’m logged in as a returning customer When I click the “1-Click” button Then I should see my order detailsPage 7
  8. 8. Acceptance CriteriaPage 8 Acceptance Tests
  9. 9. Acceptance CriteriaPage 9 Acceptance Tests
  10. 10. Acceptance CriteriaPage 10 Acceptance Tests
  11. 11. Acceptance CriteriaPage 11 Acceptance Tests
  12. 12. Acceptance CriteriaPage 12 Acceptance Tests
  13. 13. Acceptance CriteriaPage 13 Acceptance Tests
  14. 14. Acceptance CriteriaPage 14 Acceptance Tests
  15. 15. Acceptance CriteriaPage 15 Acceptance Tests
  16. 16. Acceptance CriteriaPage 16 Acceptance Tests
  17. 17. Acceptance CriteriaPage 17 Acceptance Tests
  18. 18. Acceptance CriteriaPage 18 Acceptance Tests
  19. 19. Acceptance CriteriaPage 19 Acceptance Tests
  20. 20. Acceptance CriteriaPage 20 D O N E Acceptance Tests
  21. 21. TEST DRIVEN DEVELOPMENT start with a failing Quickly write the refactoring test simplest code needed to pass the test Repeat as needed to meet requirements Test everything that could possibly breakPage 21
  22. 22. TESTING QUADRANTS Business-facing D BD Critique the product Exploratory Tests Support the team Acceptance Usability Tests Tests UAT Q2 Q3 Q1 Q4 D TD Unit Tests Performance, Security, Component Tests Load Tests Technology-facingPage 22
  23. 23. DESIGN, IMPLEMENT,TEST ALL IN ONE... Traditional Development Analyze Implement Test Deliverable Agile Development DeliverablePage 23
  24. 24. Given <context> When <action> Then <expected result>Page 24
  25. 25. Page 25
  26. 26. BDD INSTANT WORKSHOP› What could be for you (your team, your context) the benefits of using BDD?› What do you miss to start tomorrow? lk taPage 26
  27. 27. OUR EXPERIENCE
  28. 28. Page 28
  29. 29. Page 29
  30. 30. Page 30
  31. 31. SM ScrumMaster … ... PO TM Product Owner Development Team Sprint Review MeetingPage 31
  32. 32. REFLECTIONS› BDD is NOT a tool› Always challenge the desired behaviour› Fast feedback is essential› Communicate and collaborate› Risk-first!Page 32
  33. 33. COACHING BDD› No special secret!› Teaching and mentoring› “Ha-ha” moments need to happen for lasting effects› Grow agilists› Stimulate curiosity and enthusiasm – Throw questions and challengesPage 33
  34. 34. GAMIFYING BDDPage 34
  35. 35. USEFUL LINKS› Cucumber site – cukes.info› Liz Keogh’s blog – lizkeogh.com› Gojko Adzic web site – gojko.netPage 35
  36. 36. Page 36

×