O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Practical Behavior Driven Development

481 visualizações

Publicada em

Presentation I gave at the QA Southwest conference in October 2012.

Publicada em: Tecnologia
  • Seja o primeiro a comentar

Practical Behavior Driven Development

  1. 1. PracticalBehaviorDrivenDevelopment
  2. 2. Clayton Lengel-Zigich@claytonlzintegrumtech.comclaytonlz.com
  3. 3. BDD?
  4. 4. Conversation
  5. 5. Discovery
  6. 6. Shared Language
  7. 7. TDD
  8. 8. ATDD
  9. 9. xDD
  10. 10. DeliberateDiscoveryWorkshop
  11. 11. Your Org on BDD
  12. 12. Givenwhatcontext?
  13. 13. How didI GetHere?
  14. 14. Why doI want todo this?
  15. 15. Where doI go fromhere?
  16. 16. What ifthere’s aproblem?
  17. 17. Is thisbehaviorexpected?
  18. 18. Scenario: Generating a report for my division Given I am a division manager When I generate a report for my division Then I should see data specific to my divisionScenario: Generating a report for all divisions Given I am a site manager When I generate a report for my site Then I should see data for all divisions in my site
  19. 19. GivenWhenThen
  20. 20. Hidden Dangers
  21. 21. focus on tools
  22. 22. scenarios as tests
  23. 23. cargo cults
  24. 24. fullstackabuse
  25. 25. Scenario: Generating a report for my division Given I am a "division" manager When I "generate" a report for my "division" Then I should see "data" specific to my "division"
  26. 26. Scenario: Generating a report for my division Given I am a "division" manager And my division had "$100,000" in revenue When I "generate" a report for my "division" Then I should see "$100,000.00" in the "revenue total" column
  27. 27. Scenario: Generating a report for my division Given an organization "Acme, Inc" And a site manager named "Laura" that works for "Acme, Inc" And a division manager named "Eric" that works for site manager "Laura" And I am a "division" manager named "Eric" And my division had "$100,000" in revenue When I "generate" a report for my "division" Then I should see "$100,000.00" in the "revenue total" column
  28. 28. Scenario: Generating a report for my division Given an organization "Acme, Inc" And a site manager named "Laura" that works for "Acme, Inc" And a division manager named "Eric" that works for site manager "Laura" And I am a "division" manager named "Eric" And I am logged in as "Eric" And I click on "Reports" And my division had "$100,000" in revenue And I click on "Generate Report" When I "generate" a report for my "division" Then I should see "$100,000.00" in the "revenue total" column And I should see the "Save Report" button
  29. 29. DiscoverFirst
  30. 30. DescribeNext
  31. 31. AutomateLast
  32. 32. Dan North / @tastapodLiz Keogh / @lunivoreMatt Wynne / @mattwynne
  33. 33. Clayton Lengel-Zigich@claytonlzslideshare.net/claytonlz

×