SlideShare a Scribd company logo
Copyright © 2015 SolutionsIQ Inc. All rights reserved.
6801 185th Ave NE, Suite 200
Redmond, WA 98052
solutionsiq.com
1.800.235.4091
When to Embrace Behavior Driven
development ?
How to adopt it the right way ?
PREPARED BY
Ranjith Tharayil
Agile Coach
SolutionsIQ
What the hell is this
2
BDD is a second-generation, outside-in, pull-based,
multiple-stakeholder, multiple-scale, high-automation,
agile methodology. It describes a cycle of interactions with
well-defined outputs, resulting in the delivery of working,
tested software that matters.
“
”
3
Dan North
Not again , Stop the crap we have seen this
4
The BDD Philosophy : how can we collaborate better ?
5
Product Owner
Developers Quality Assurance
Production Support
Business
The BDD school of thought ,Outside in
6
Spec
Test
Code
Outside in
The flow
7
N-1 N N+1
» Sprints
spec
» Sprint planning
» Pull only those with spec ready» Three Amigo
Meetings
» BA ,PO
» Developers
» QA
» Production Support
» Any one who could
contribute in scenario
identification
• Disciplined delivery
• Working agreements
• DOR
• DOD
• Less risk of failure
No Comments :S
8
Doing BDD vs Adopting BDD
9
Do BDD
for
1567
BDD Myths
10
• Myth 1: BDD requires a framework or tool
• Myth 2 : BDD is about testing
• Myth 3: BDD has to be done top-down
• “Step Away from the Tools”
• “BDD isn’t about the tools.”
<Footer Content: Presentation Title, Partner Name, Other> 11
Liz Keogh
Myth 1: BDD requires a framework or tool
• #BDD supports collaboration. If u can’t
collaborate please don’t try using Cucumber as
test automation
<Footer Content: Presentation Title, Partner Name, Other> 12
Myth 2 : BDD is about testing
Seb Rose
In fact, BDD isn’t even really about testing. It’s just
a way of capturing those conversations which
happens to provide some tests, and lifts some of
the burden on the testers. If you want to run
additional performance tests, exploratory tests, or
even record some tests, it doesn’t have to come
under the BDD banner. It’s perfectly OK to do
BDD and test things as well.
13
Liz Keogh
Myth 2 : BDD is about testing
+Scenario 1: Account is in credit+
Given the account is in credit
And the card is valid
And the dispenser contains cash
When the customer requests cash
Then ensure the account is debited
And ensure cash is dispensed
And ensure the card is returned
14
+Scenario 1: Account is in credit+
Given the account is in credit
And the card is valid
And the dispenser contains cash
When the customer requests cash
Then check that the account is debited
And check that cash is dispensed
And check that the card is returned
And check that nothing happens that shouldn’t
happen and everything else happens that should
happen for all variations of this scenario and all
possible states of the ATM and all possible states of
the customer’s account and all possible states of
the rest of the database and all possible states of
the system as a whole, and anything happening in
the cloud that should not matter but might matter.
James Bach
Myth 2 : BDD is about testing
Test iceberg
15
Myth 3: BDD has to be done top-down
Problem Space , Solution Space& the Gap
16
Each spaces has its own Complexity
17
• Context specific
• Varies wrt team maturity
<Footer Content: Presentation Title, Partner Name, Other> 18
Lets play a game
10 level tower of cards
19
20
BDD Workshop, Society General 21
BDD Workshop, Society General 22
Complexity
23
Time and effort spent ∝ problem space complexity
24
• More the problem space complexity , more time has to be spent
debating discussing and detailing scenarios
• When problem space is simple , spending lot of time on scenario
identification might not make sense
• Different features have different types of complexity
How to measure complexity
25
Points Complexity Description
1 Just about everyone in the world has done this
2 Lots of people have done this, including someone on our team.
3 Someone in our company has done this, or we have access to expertise
4 Someone in the world did this, but not in our organization (and probably
at a competitor)
5 Nobody in the world has ever done this before
Second Order ignorance
We say second order of ignorance exist if “when I don't know that I
don't know something”.
Liz Keogh
Scenario Identification, 3 key pillars
Functional:
-Happy path
-Sad path
-Exceptional path
Constraints
Quality
attributes
26
<Footer Content: Presentation Title, Partner Name, Other> 27
Thank you!
solutionsiq.com

More Related Content

PDF
When to Embrace Behavior Driven Development : Presented by Ranjith Tharayil
PPTX
When to embrace Behavior Driven Development?
PPTX
Change vector tracking in emergent design
PPTX
Introduction to BDD
PPTX
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
PPTX
Gateway to Agile: XP and BDD
PPTX
Java Zone Academy 2018 - Build the right system
PDF
Behavior Driven Development - WPC 2011
When to Embrace Behavior Driven Development : Presented by Ranjith Tharayil
When to embrace Behavior Driven Development?
Change vector tracking in emergent design
Introduction to BDD
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Gateway to Agile: XP and BDD
Java Zone Academy 2018 - Build the right system
Behavior Driven Development - WPC 2011

Similar to When to embrace behavior driven development (20)

PDF
Emily Bache - Readable, Executable Requirements: Hands-On - EuroSTAR 2013
PDF
Introduction to TDD and BDD
PDF
2015 in tothebox-introtddbdd
PDF
Intro to TDD & BDD
PDF
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
PPTX
Lagging, leading, and predictive indicators
PDF
Successfully Implementing BDD in an Agile World
PPTX
Lagging, Leading, and Predictive Indicators
PPTX
Best practices For Creating Compelling Dashboards
PDF
Real developers-dont-need-unit-tests
PDF
Real developers-dont-need-unit-tests
PDF
Real developers-dont-need-unit-tests
PDF
My Top 10 Design Business Failures
PDF
Why Your Dashboard Sucks: Applications of Design Thinking in Enterprise Busin...
PDF
ZendCon 2010 Technical Debt
PDF
Top Challenges in Testing Requirements
PDF
More Business Value Now - Triad
PPTX
Experience Mapping in a Zoom-Crazy World
PDF
Startup DNA: Speed Wins
PPTX
Test driven development
Emily Bache - Readable, Executable Requirements: Hands-On - EuroSTAR 2013
Introduction to TDD and BDD
2015 in tothebox-introtddbdd
Intro to TDD & BDD
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
Lagging, leading, and predictive indicators
Successfully Implementing BDD in an Agile World
Lagging, Leading, and Predictive Indicators
Best practices For Creating Compelling Dashboards
Real developers-dont-need-unit-tests
Real developers-dont-need-unit-tests
Real developers-dont-need-unit-tests
My Top 10 Design Business Failures
Why Your Dashboard Sucks: Applications of Design Thinking in Enterprise Busin...
ZendCon 2010 Technical Debt
Top Challenges in Testing Requirements
More Business Value Now - Triad
Experience Mapping in a Zoom-Crazy World
Startup DNA: Speed Wins
Test driven development
Ad

Recently uploaded (20)

PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
history of c programming in notes for students .pptx
PPTX
ai tools demonstartion for schools and inter college
PDF
medical staffing services at VALiNTRY
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
assetexplorer- product-overview - presentation
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
How to Choose the Right IT Partner for Your Business in Malaysia
Internet Downloader Manager (IDM) Crack 6.42 Build 41
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
history of c programming in notes for students .pptx
ai tools demonstartion for schools and inter college
medical staffing services at VALiNTRY
Reimagine Home Health with the Power of Agentic AI​
Which alternative to Crystal Reports is best for small or large businesses.pdf
Digital Strategies for Manufacturing Companies
Digital Systems & Binary Numbers (comprehensive )
Understanding Forklifts - TECH EHS Solution
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
assetexplorer- product-overview - presentation
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms II-SECS-1021-03
Wondershare Filmora 15 Crack With Activation Key [2025
Ad

When to embrace behavior driven development

  • 1. Copyright © 2015 SolutionsIQ Inc. All rights reserved. 6801 185th Ave NE, Suite 200 Redmond, WA 98052 solutionsiq.com 1.800.235.4091 When to Embrace Behavior Driven development ? How to adopt it the right way ? PREPARED BY Ranjith Tharayil Agile Coach SolutionsIQ
  • 2. What the hell is this 2
  • 3. BDD is a second-generation, outside-in, pull-based, multiple-stakeholder, multiple-scale, high-automation, agile methodology. It describes a cycle of interactions with well-defined outputs, resulting in the delivery of working, tested software that matters. “ ” 3 Dan North
  • 4. Not again , Stop the crap we have seen this 4
  • 5. The BDD Philosophy : how can we collaborate better ? 5 Product Owner Developers Quality Assurance Production Support Business
  • 6. The BDD school of thought ,Outside in 6 Spec Test Code Outside in
  • 7. The flow 7 N-1 N N+1 » Sprints spec » Sprint planning » Pull only those with spec ready» Three Amigo Meetings » BA ,PO » Developers » QA » Production Support » Any one who could contribute in scenario identification • Disciplined delivery • Working agreements • DOR • DOD • Less risk of failure
  • 9. Doing BDD vs Adopting BDD 9 Do BDD for 1567
  • 10. BDD Myths 10 • Myth 1: BDD requires a framework or tool • Myth 2 : BDD is about testing • Myth 3: BDD has to be done top-down
  • 11. • “Step Away from the Tools” • “BDD isn’t about the tools.” <Footer Content: Presentation Title, Partner Name, Other> 11 Liz Keogh Myth 1: BDD requires a framework or tool
  • 12. • #BDD supports collaboration. If u can’t collaborate please don’t try using Cucumber as test automation <Footer Content: Presentation Title, Partner Name, Other> 12 Myth 2 : BDD is about testing Seb Rose
  • 13. In fact, BDD isn’t even really about testing. It’s just a way of capturing those conversations which happens to provide some tests, and lifts some of the burden on the testers. If you want to run additional performance tests, exploratory tests, or even record some tests, it doesn’t have to come under the BDD banner. It’s perfectly OK to do BDD and test things as well. 13 Liz Keogh Myth 2 : BDD is about testing
  • 14. +Scenario 1: Account is in credit+ Given the account is in credit And the card is valid And the dispenser contains cash When the customer requests cash Then ensure the account is debited And ensure cash is dispensed And ensure the card is returned 14 +Scenario 1: Account is in credit+ Given the account is in credit And the card is valid And the dispenser contains cash When the customer requests cash Then check that the account is debited And check that cash is dispensed And check that the card is returned And check that nothing happens that shouldn’t happen and everything else happens that should happen for all variations of this scenario and all possible states of the ATM and all possible states of the customer’s account and all possible states of the rest of the database and all possible states of the system as a whole, and anything happening in the cloud that should not matter but might matter. James Bach Myth 2 : BDD is about testing
  • 15. Test iceberg 15 Myth 3: BDD has to be done top-down
  • 16. Problem Space , Solution Space& the Gap 16
  • 17. Each spaces has its own Complexity 17 • Context specific • Varies wrt team maturity
  • 18. <Footer Content: Presentation Title, Partner Name, Other> 18 Lets play a game
  • 19. 10 level tower of cards 19
  • 20. 20
  • 21. BDD Workshop, Society General 21
  • 22. BDD Workshop, Society General 22
  • 24. Time and effort spent ∝ problem space complexity 24 • More the problem space complexity , more time has to be spent debating discussing and detailing scenarios • When problem space is simple , spending lot of time on scenario identification might not make sense • Different features have different types of complexity
  • 25. How to measure complexity 25 Points Complexity Description 1 Just about everyone in the world has done this 2 Lots of people have done this, including someone on our team. 3 Someone in our company has done this, or we have access to expertise 4 Someone in the world did this, but not in our organization (and probably at a competitor) 5 Nobody in the world has ever done this before Second Order ignorance We say second order of ignorance exist if “when I don't know that I don't know something”. Liz Keogh
  • 26. Scenario Identification, 3 key pillars Functional: -Happy path -Sad path -Exceptional path Constraints Quality attributes 26
  • 27. <Footer Content: Presentation Title, Partner Name, Other> 27 Thank you! solutionsiq.com