Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Bdd lessons-learned

1,114 views

Published on

Published in: Business, Technology
  • Be the first to comment

Bdd lessons-learned

  1. 1. BDD Lessons Learned by Dave Haeffner Monday, July 1, 13
  2. 2. Background & Primer Monday, July 1, 13
  3. 3. • Cucumber • Specification Workshops • Selenium • Continuous Integration • A rabbit Potent potables Monday, July 1, 13
  4. 4. circa 2012/2013-ish BDD Implementation Monday, July 1, 13
  5. 5. circa 2012/2013-ish Introduced Gherkin Sold it, & coached it BDD Implementation Monday, July 1, 13
  6. 6. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it BDD Implementation Monday, July 1, 13
  7. 7. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Monday, July 1, 13
  8. 8. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Monday, July 1, 13
  9. 9. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Monday, July 1, 13
  10. 10. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Monday, July 1, 13
  11. 11. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Monday, July 1, 13
  12. 12. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Renewed Dev interest in automation Monday, July 1, 13
  13. 13. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Renewed Dev interest in automation Building Blocks Monday, July 1, 13
  14. 14. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Renewed Dev interest in automation Building Blocks Training Monday, July 1, 13
  15. 15. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Renewed Dev interest in automation Building Blocks Training Prod. like env’s & Spec. Workshops Monday, July 1, 13
  16. 16. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Renewed Dev interest in automation Building Blocks Training Prod. like env’s & Spec. Workshops Staggered automation Monday, July 1, 13
  17. 17. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Renewed Dev interest in automation Building Blocks Training Prod. like env’s & Spec. Workshops Staggered automation Churn Monday, July 1, 13
  18. 18. circa 2012/2013-ish ID’d, autom., and demoed key scenarios Introduced Gherkin Sold it, & coached it Dev interest & CI Vacation BDD Implementation Shambles & Initial Recovery Gross gherkin, no new autom, & busted CI CI notifications, standardized gherkin process Churn Churn Autom. & demo of critical funct. Renewed Dev interest in automation Building Blocks Training Prod. like env’s & Spec. Workshops Staggered automation Churn Cross- browser testing implem. Monday, July 1, 13
  19. 19. Some good questions to ask yourself Monday, July 1, 13
  20. 20. • How often does it need to be checked (e.g. how often does it change)? • How long does it take to test manually? • How valuable is it (e.g. core functionality that is used heavily by our users, used by a prominent user group, legal or political, etc.)? • How risky is the feature (e.g. fundamental back-end changes, complex architecture, large user facing impact)? • What is the level of effort to automate (S, M, L, XL)? • Does it involve look and feel? Monday, July 1, 13
  21. 21. • Where does the business logic live? • How is it architected? • What kind of test coverage exists already? Monday, July 1, 13
  22. 22. BDD Lessons Learned • Writing good gherkin is difficult • If you plan to change behavior, change one thing at a time • Top down doesn’t matter as much as bottom up • Ask good questions Monday, July 1, 13
  23. 23. Stay in touch! http://sohelpfulme.com/tourdedave Monday, July 1, 13
  24. 24. ElementalSelenium.com Monday, July 1, 13

×