24
BDD Lessons Learned by Dave Haeffner Monday, July 1, 13

Bdd lessons-learned

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Bdd lessons-learned

BDD Lessons Learnedby Dave Haeffner

Monday, July 1, 13

Page 2: Bdd lessons-learned

Background & Primer

Monday, July 1, 13

Page 3: Bdd lessons-learned

• Cucumber

• Specification Workshops

• Selenium

• Continuous Integration

• A rabbit

Potent potables

Monday, July 1, 13

Page 4: Bdd lessons-learned

circa 2012/2013-ish BDD Implementation

Monday, July 1, 13

Page 5: Bdd lessons-learned

circa 2012/2013-ish

Introduced Gherkin

Sold it, & coached it

BDD Implementation

Monday, July 1, 13

Page 6: Bdd lessons-learned

circa 2012/2013-ish

ID’d, autom., and

demoed key

scenarios

Introduced Gherkin

Sold it, & coached it

BDD Implementation

Monday, July 1, 13

Page 7: Bdd lessons-learned

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

Page 8: Bdd lessons-learned

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 RecoveryGross gherkin, no new autom, & busted CI

CI notifications, standardized gherkin process

Monday, July 1, 13

Page 9: Bdd lessons-learned

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 RecoveryGross gherkin, no new autom, & busted CI

CI notifications, standardized gherkin process

Churn

Monday, July 1, 13

Page 10: Bdd lessons-learned

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 RecoveryGross gherkin, no new autom, & busted CI

CI notifications, standardized gherkin process

Churn

Churn

Monday, July 1, 13

Page 11: Bdd lessons-learned

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 RecoveryGross gherkin, no new autom, & busted CI

CI notifications, standardized gherkin process

Churn

Churn

Autom. & demo of critical funct.

Monday, July 1, 13

Page 12: Bdd lessons-learned

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 RecoveryGross 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

Page 13: Bdd lessons-learned

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 RecoveryGross 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

Page 14: Bdd lessons-learned

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 RecoveryGross 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

Page 15: Bdd lessons-learned

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 RecoveryGross 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

Page 16: Bdd lessons-learned

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 RecoveryGross 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

Page 17: Bdd lessons-learned

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 RecoveryGross 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

Page 18: Bdd lessons-learned

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 RecoveryGross 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

Page 19: Bdd lessons-learned

Some good questions to ask yourself

Monday, July 1, 13

Page 20: Bdd lessons-learned

• 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

Page 21: Bdd lessons-learned

• Where does the business logic live?

• How is it architected?

• What kind of test coverage exists already?

Monday, July 1, 13

Page 22: Bdd lessons-learned

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

Page 23: Bdd lessons-learned

Stay in touch!

http://sohelpfulme.com/tourdedave

Monday, July 1, 13

Page 24: Bdd lessons-learned

ElementalSelenium.com

Monday, July 1, 13