Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Practical Behavior Driven Development

482 visualizaciones

Publicado el

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

Publicado en: Tecnología
  • Sé el primero en 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

×