SlideShare a Scribd company logo
Gáspár Nagy
coach • trainer • bdd addict • creator of specflow
@gasparnagy • gaspar@specsolutions.eu
Gáspár Nagy
coach • trainer • bdd addict • creator of specflow
@gasparnagy • gaspar@specsolutions.eu
Given/When/Then-ready sprint planning
Agile Tour Vienna • 21/11/2015
Copyright © Gaspar NagyCopyright © Gaspar Nagy
specsolutions.eu/bddaddict
bdd addict
given.when.then
CAUTION!
on stage
Copyright © Gaspar NagyCopyright © Gaspar Nagy
What is BDD?
Copyright © Gaspar NagyCopyright © Gaspar Nagy
An Oversimplified BDD Process
Scenario: Books can be added to the shopping basket
Given the following books
| Author | Title |
| Martin Fowler | Analysis Patterns |
| Gojko Adzic | Bridging the Communication Gap |
And my shopping basket is empty
When I add the book “Analysis Patterns” to my shopping basket
Then my shopping basket should contain 1 copy of “Analysis Patterns”
Copyright © Gaspar NagyCopyright © Gaspar Nagy
The Feature File
Scenario: Books can be added to the shopping basket
Given the following books
| Author | Title |
| Martin Fowler | Analysis Patterns |
| Gojko Adzic | Bridging the Communication Gap |
And my shopping basket is empty
When I add the book “Analysis Patterns” to my shopping basket
Then my shopping basket should contain 1 copy of “Analysis Patterns”
Who writes the
scenarios?
How do you
set the title of
the scenario?
Can I have multiple
when/then steps?
Copyright © Gaspar NagyCopyright © Gaspar Nagy
If you have these questions you are probably on
the wrong track…
Copyright © Gaspar NagyCopyright © Gaspar Nagy
The Sprint Planning
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Demo: Planning the Pizza
Selection Story
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Explain the story as a PO
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Let’s write a Gherkin from the result
Scenario: ...
Given ...
When ...
Then ...
Copyright © Gaspar NagyCopyright © Gaspar Nagy
De-briefing
• PO was unprepared
• We discussed the topics in a foreign language
• The domain was known, but not very exact
• Quality of notes?
• How easy it to write the first scenario?
• Quality of scenario?
Copyright © Gaspar NagyCopyright © Gaspar Nagy
An efficient meeting…
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Demo: Planning the Pizza
Selection Story
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Participate in the facilitated discussion as
PO
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Should be able to add a pizza to the basket
Scenario: Should be able to add a pizza to the basket
Given the following pizza menu
| name | ingredients |
| Aslak Hellesøy | Cucumber, Gherkin, Pickles |
| Uncle Bob | Chicken, Low cal cheese |
| Chris Matts | Garlic, Wasabi, Tomato |
And the shopping basket is empty
When I choose a “Chris Matts” pizza
Then my basket contains 1 “Chris Matts” pizza
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Should be able to add extras to the chosen
pizza
Scenario: Should be able to add extras to the chosen pizza
Given the following pizzas in the basket
| pizza | extras |
| Aslak Hellesøy | - |
| Chris Matts | - |
And the “Aslak Hellesøy” pizza is selected from the basket
When I add extra cheese
And I add extra cucumber
Then the basket should contain
| pizza | extras |
| Aslak Hellesøy | +cheese +cucumber |
| Chris Matts | - |
Copyright © Gaspar NagyCopyright © Gaspar Nagy
How It's Made
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Well guided planning meeting can improve
the “BDD-efficiency” quite much
• Someone needs to facilitate the discussion – not the PO
• The facilitation can be rotated so that everyone gets practice
• The facilitator can guide the discussion with
• Asking questions
• Moderating (stopping?) discussions
• Everyone can ask of course…
Copyright © Gaspar NagyCopyright © Gaspar Nagy
#1 – Pick a guide line
• Choose a theme that you can use to order the questions
• The “sequence of actions” is usually good
• ie. “What you do first?”
• If you use story mapping for planning the stories, this comes quite naturally
Copyright © Gaspar NagyCopyright © Gaspar Nagy
#2 – Keep collecting acceptance criteria
• Once you hear an important rule/behavior/check, note it down as an
acceptance criterion
• Don’t forget that AC is not necessarily text, but formulas, wireframes or
anything that describes the required behavior
Copyright © Gaspar NagyCopyright © Gaspar Nagy
#3 – Make notes visible to everyone
• Writing them up to the whiteboard can work well
• Using (and sharing on projector) a notepad, OneNote or SpecLog is also
very good
• Pro: stored already in a searchable form, usually better visible (zoom), easy to go
back to earlier notes
• Con: harder to get a full overview
• Stop the discussion while the AC is captured
• The team should have an agreement on the captured result
• Was this really what we were discussing about?
Copyright © Gaspar NagyCopyright © Gaspar Nagy
#4 – Collect examples
• Ask for examples if not provided
• Examples can help
• understanding the topic
• discover misunderstandings
• keep the requirements real
• Discover more: Specification by Example, Example mapping
Copyright © Gaspar NagyCopyright © Gaspar Nagy
#5 – Write a glossary
• As a facilitator, keep watching the domain terms and their usage
• Highlight if they are used inconsistently
• Suggest choosing a term
• “Why don’t we give this a name?”
• The terms can be just highlighted in the notes, but you can also build up a
glossary as the discussion goes
• Discover more: Domain Driven Design
Copyright © Gaspar NagyCopyright © Gaspar Nagy
+1 – Formulate the scenarios in Gherkin
• Not necessarily in the planning meeting
• Just before you start implementing the story works usually
• Don’t do it alone
• Try to find broader agreement especially for the first scenarios in a certain
topic
• At this point, you are not discussing the behavior, but finalizing the
ubiquitous language
• Discover more: Three Amigos
Copyright © Gaspar NagyCopyright © Gaspar Nagy
One page summary
#1 – Pick a guide line
#2 – Keep collecting acceptance criteria
#3 – Make notes visible to everyone
#4 – Collect examples
#5 – Write a glossary
Copyright © Gaspar NagyCopyright © Gaspar Nagy
What about my answers?
Who writes the
scenarios?
How do you
set the title of
the scenario?
Can I have multiple
when/then steps?
Copyright © Gaspar NagyCopyright © Gaspar Nagy
The answers
• Who writes the scenarios?
• It does not matter, because we are all on the same page regarding the behavior. But it
makes sense if a developer is typing it in with a tester or PO sitting next to him/her.
• How do you set the title of the scenario?
• You never set it, you start from the acceptance criterion that will be the title.
• Can I have multiple when/then steps?
• The scenario is the formalization of an AC – a simple check. For that you usually
need only one when step and only one or two then steps.
Copyright © Gaspar NagyCopyright © Gaspar Nagy
Try is at home!
Gáspár Nagy
coach • trainer • bdd addict • creator of specflow
@gasparnagy • gaspar@specsolutions.eu
Gáspár Nagy
coach • trainer • bdd addict • creator of specflow
@gasparnagy • gaspar@specsolutions.eu
Thank you!
Copyright © Gaspar NagyCopyright © Gaspar Nagy
specsolutions.eu/bddaddict
bdd addict
given.when.then
CAUTION!
on the loose

More Related Content

Similar to Given/When/Then-ready sprint planning (Agile Tour Vienna 2015)

Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Gáspár Nagy
 
Pair PM-ing, An Exploration of an Idea
Pair PM-ing, An Exploration of an IdeaPair PM-ing, An Exploration of an Idea
Pair PM-ing, An Exploration of an Idea
Scott Gilbert
 
Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...
Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...
Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...
Gáspár Nagy
 
370 October 10 Review
370 October 10 Review370 October 10 Review
370 October 10 Review
Ohio University
 
7. evaluation
7. evaluation7. evaluation
7. evaluation
Joshua Palmer
 
Untangling spring week2
Untangling spring week2Untangling spring week2
Untangling spring week2
Derek Jacoby
 
Agile project inception workshop
Agile project inception workshopAgile project inception workshop
Agile project inception workshop
Bill Bourne
 
Start to finish - Building Games Step-by-Step
Start to finish - Building Games Step-by-StepStart to finish - Building Games Step-by-Step
Start to finish - Building Games Step-by-Step
Ed Magnin
 
7. evaluation
7. evaluation7. evaluation
7. evaluation
Joshua Palmer
 
Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)
Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)
Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)
Gáspár Nagy
 
Home TDD, Refactoring and DevOps
Home TDD, Refactoring and DevOpsHome TDD, Refactoring and DevOps
Home TDD, Refactoring and DevOps
Bryan Beecham
 
PlatinumGames and Hansoft - the Road to Agility
PlatinumGames and Hansoft - the Road to AgilityPlatinumGames and Hansoft - the Road to Agility
PlatinumGames and Hansoft - the Road to Agility
Hansoft AB
 
Usability Testing: Targeting Mobile Devices
Usability Testing: Targeting Mobile DevicesUsability Testing: Targeting Mobile Devices
Usability Testing: Targeting Mobile Devices
Wayne Pau
 
Discovery Phase: Planing Your Web Project
Discovery Phase: Planing Your Web ProjectDiscovery Phase: Planing Your Web Project
Discovery Phase: Planing Your Web Project
Easily Amused, Inc. & The WP Valet
 
usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide
usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide
usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide
usherucinemaapp
 
Personal production project
Personal production projectPersonal production project
Personal production project
DominikBalint
 
Personal production project
Personal production projectPersonal production project
Personal production project
DominikBalint
 
Design Cycle
Design CycleDesign Cycle
Design Cycle
kodigs
 
7. evaluation
7. evaluation7. evaluation
7. evaluation
Joshua Palmer
 
Personal production project
Personal production projectPersonal production project
Personal production project
Cameron Tomlinson
 

Similar to Given/When/Then-ready sprint planning (Agile Tour Vienna 2015) (20)

Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
 
Pair PM-ing, An Exploration of an Idea
Pair PM-ing, An Exploration of an IdeaPair PM-ing, An Exploration of an Idea
Pair PM-ing, An Exploration of an Idea
 
Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...
Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...
Continuous Behavior - BDD in Continuous Delivery (CoDers Who Test, Gothenburg...
 
370 October 10 Review
370 October 10 Review370 October 10 Review
370 October 10 Review
 
7. evaluation
7. evaluation7. evaluation
7. evaluation
 
Untangling spring week2
Untangling spring week2Untangling spring week2
Untangling spring week2
 
Agile project inception workshop
Agile project inception workshopAgile project inception workshop
Agile project inception workshop
 
Start to finish - Building Games Step-by-Step
Start to finish - Building Games Step-by-StepStart to finish - Building Games Step-by-Step
Start to finish - Building Games Step-by-Step
 
7. evaluation
7. evaluation7. evaluation
7. evaluation
 
Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)
Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)
Testing is Difficult (Agile in the City Bristol 2017, Lightening talk)
 
Home TDD, Refactoring and DevOps
Home TDD, Refactoring and DevOpsHome TDD, Refactoring and DevOps
Home TDD, Refactoring and DevOps
 
PlatinumGames and Hansoft - the Road to Agility
PlatinumGames and Hansoft - the Road to AgilityPlatinumGames and Hansoft - the Road to Agility
PlatinumGames and Hansoft - the Road to Agility
 
Usability Testing: Targeting Mobile Devices
Usability Testing: Targeting Mobile DevicesUsability Testing: Targeting Mobile Devices
Usability Testing: Targeting Mobile Devices
 
Discovery Phase: Planing Your Web Project
Discovery Phase: Planing Your Web ProjectDiscovery Phase: Planing Your Web Project
Discovery Phase: Planing Your Web Project
 
usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide
usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide
usheru Film Hack no. 2 - Micro-budget Filmmaking - a user's guide
 
Personal production project
Personal production projectPersonal production project
Personal production project
 
Personal production project
Personal production projectPersonal production project
Personal production project
 
Design Cycle
Design CycleDesign Cycle
Design Cycle
 
7. evaluation
7. evaluation7. evaluation
7. evaluation
 
Personal production project
Personal production projectPersonal production project
Personal production project
 

More from Gáspár Nagy

Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Gáspár Nagy
 
BDD Scenarios in a Testing Strategy
BDD Scenarios in a Testing StrategyBDD Scenarios in a Testing Strategy
BDD Scenarios in a Testing Strategy
Gáspár Nagy
 
Ramp up your testing solution, ExpoQA 2023
Ramp up your testing solution, ExpoQA 2023Ramp up your testing solution, ExpoQA 2023
Ramp up your testing solution, ExpoQA 2023
Gáspár Nagy
 
BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)
BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)
BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)
Gáspár Nagy
 
Fighting against technical debt (CukenFest 2020)
Fighting against technical debt (CukenFest 2020)Fighting against technical debt (CukenFest 2020)
Fighting against technical debt (CukenFest 2020)
Gáspár Nagy
 
Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...
Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...
Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...
Gáspár Nagy
 
We are sinking: Hitting the testing iceberg (CukenFest London, 2018)
We are sinking: Hitting the testing iceberg (CukenFest London, 2018)We are sinking: Hitting the testing iceberg (CukenFest London, 2018)
We are sinking: Hitting the testing iceberg (CukenFest London, 2018)
Gáspár Nagy
 
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Gáspár Nagy
 
Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...
Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...
Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...
Gáspár Nagy
 
A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...
A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...
A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...
Gáspár Nagy
 
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
Gáspár Nagy
 

More from Gáspár Nagy (11)

Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
BDD Scenarios in a Testing Strategy
BDD Scenarios in a Testing StrategyBDD Scenarios in a Testing Strategy
BDD Scenarios in a Testing Strategy
 
Ramp up your testing solution, ExpoQA 2023
Ramp up your testing solution, ExpoQA 2023Ramp up your testing solution, ExpoQA 2023
Ramp up your testing solution, ExpoQA 2023
 
BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)
BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)
BDD Scenarios in a Testing & Traceability Strategy (Webinar 19/02/2021)
 
Fighting against technical debt (CukenFest 2020)
Fighting against technical debt (CukenFest 2020)Fighting against technical debt (CukenFest 2020)
Fighting against technical debt (CukenFest 2020)
 
Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...
Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...
Süllyedünk! Ütközés a tesztelési jégheggyel (Teszt & Tea Meeup Budapest, 2018...
 
We are sinking: Hitting the testing iceberg (CukenFest London, 2018)
We are sinking: Hitting the testing iceberg (CukenFest London, 2018)We are sinking: Hitting the testing iceberg (CukenFest London, 2018)
We are sinking: Hitting the testing iceberg (CukenFest London, 2018)
 
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
 
Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...
Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...
Behavior Driven Web UI Automation with Selenium and Cucumber/SpecFlow (Qualit...
 
A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...
A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...
A tesztelés szerepe folyamatos kihelyezést használó projektekben (Microsoft, ...
 
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
 

Recently uploaded

Software development... for all? (keynote at ICSOFT'2024)
Software development... for all? (keynote at ICSOFT'2024)Software development... for all? (keynote at ICSOFT'2024)
Software development... for all? (keynote at ICSOFT'2024)
miso_uam
 
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
902basic
 
Top Chinese Government-backed APT Groups
Top Chinese Government-backed APT GroupsTop Chinese Government-backed APT Groups
Top Chinese Government-backed APT Groups
SOCRadar
 
Attendance Tracking From Paper To Digital
Attendance Tracking From Paper To DigitalAttendance Tracking From Paper To Digital
Attendance Tracking From Paper To Digital
Task Tracker
 
Hotel Management Software Development Company
Hotel Management Software Development CompanyHotel Management Software Development Company
Hotel Management Software Development Company
XongoLab Technologies LLP
 
Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...
Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...
Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...
shanihomely
 
bangalore Girls call 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
bangalore Girls call  👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Deliverybangalore Girls call  👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
bangalore Girls call 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
sunilverma7884
 
Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...
Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...
Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...
dream girl
 
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
norina2645
 
Odoo E-commerce website development guides
Odoo E-commerce website development guidesOdoo E-commerce website development guides
Odoo E-commerce website development guides
jhkdigitalmarketing
 
Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...
Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...
Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...
rachitkumar09887
 
ThaiPy meetup - Indexes and Django
ThaiPy meetup - Indexes and DjangoThaiPy meetup - Indexes and Django
ThaiPy meetup - Indexes and Django
akshesh doshi
 
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
kiara pandey
 
Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...
Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...
Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...
aslasdfmkhan4750
 
Wired_2.0_Create_AmsterdamJUG_09072024.pptx
Wired_2.0_Create_AmsterdamJUG_09072024.pptxWired_2.0_Create_AmsterdamJUG_09072024.pptx
Wired_2.0_Create_AmsterdamJUG_09072024.pptx
SimonedeGijt
 
VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...
VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...
VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...
jealousviolet
 
NYGGS 360: A Complete ERP for Construction Innovation
NYGGS 360: A Complete ERP for Construction InnovationNYGGS 360: A Complete ERP for Construction Innovation
NYGGS 360: A Complete ERP for Construction Innovation
NYGGS Construction ERP Software
 
Prada Group Reports Strong Growth in First Quarter …
Prada Group Reports Strong Growth in First Quarter …Prada Group Reports Strong Growth in First Quarter …
Prada Group Reports Strong Growth in First Quarter …
908dutch
 
Authentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptxAuthentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptx
DEMONDUOS
 
Artificial intelligence in customer services or chatbots
Artificial intelligence  in customer services or chatbotsArtificial intelligence  in customer services or chatbots
Artificial intelligence in customer services or chatbots
kayash1656
 

Recently uploaded (20)

Software development... for all? (keynote at ICSOFT'2024)
Software development... for all? (keynote at ICSOFT'2024)Software development... for all? (keynote at ICSOFT'2024)
Software development... for all? (keynote at ICSOFT'2024)
 
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
 
Top Chinese Government-backed APT Groups
Top Chinese Government-backed APT GroupsTop Chinese Government-backed APT Groups
Top Chinese Government-backed APT Groups
 
Attendance Tracking From Paper To Digital
Attendance Tracking From Paper To DigitalAttendance Tracking From Paper To Digital
Attendance Tracking From Paper To Digital
 
Hotel Management Software Development Company
Hotel Management Software Development CompanyHotel Management Software Development Company
Hotel Management Software Development Company
 
Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...
Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...
Russian Girls Call Mumbai 🎈🔥9930687706 🔥💋🎈 Provide Best And Top Girl Service ...
 
bangalore Girls call 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
bangalore Girls call  👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Deliverybangalore Girls call  👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
bangalore Girls call 👀 XXXXXXXXXXX 👀 Rs.9.5 K Cash Payment With Room Delivery
 
Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...
Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...
Russian Girls Call Mumbai 🛵🚡9833363713 💃 Choose Best And Top Girl Service And...
 
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
 
Odoo E-commerce website development guides
Odoo E-commerce website development guidesOdoo E-commerce website development guides
Odoo E-commerce website development guides
 
Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...
Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...
Agra Girls Call Agra 0X0000000X Unlimited Short Providing Girls Service Avail...
 
ThaiPy meetup - Indexes and Django
ThaiPy meetup - Indexes and DjangoThaiPy meetup - Indexes and Django
ThaiPy meetup - Indexes and Django
 
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
 
Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...
Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...
Independent Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class H...
 
Wired_2.0_Create_AmsterdamJUG_09072024.pptx
Wired_2.0_Create_AmsterdamJUG_09072024.pptxWired_2.0_Create_AmsterdamJUG_09072024.pptx
Wired_2.0_Create_AmsterdamJUG_09072024.pptx
 
VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...
VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...
VVIP Girls Call Mumbai 9910780858 Provide Best And Top Girl Service And No1 i...
 
NYGGS 360: A Complete ERP for Construction Innovation
NYGGS 360: A Complete ERP for Construction InnovationNYGGS 360: A Complete ERP for Construction Innovation
NYGGS 360: A Complete ERP for Construction Innovation
 
Prada Group Reports Strong Growth in First Quarter …
Prada Group Reports Strong Growth in First Quarter …Prada Group Reports Strong Growth in First Quarter …
Prada Group Reports Strong Growth in First Quarter …
 
Authentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptxAuthentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptx
 
Artificial intelligence in customer services or chatbots
Artificial intelligence  in customer services or chatbotsArtificial intelligence  in customer services or chatbots
Artificial intelligence in customer services or chatbots
 

Given/When/Then-ready sprint planning (Agile Tour Vienna 2015)

  • 1. Gáspár Nagy coach • trainer • bdd addict • creator of specflow @gasparnagy • gaspar@specsolutions.eu Gáspár Nagy coach • trainer • bdd addict • creator of specflow @gasparnagy • gaspar@specsolutions.eu Given/When/Then-ready sprint planning Agile Tour Vienna • 21/11/2015
  • 2. Copyright © Gaspar NagyCopyright © Gaspar Nagy specsolutions.eu/bddaddict bdd addict given.when.then CAUTION! on stage
  • 3. Copyright © Gaspar NagyCopyright © Gaspar Nagy What is BDD?
  • 4. Copyright © Gaspar NagyCopyright © Gaspar Nagy An Oversimplified BDD Process Scenario: Books can be added to the shopping basket Given the following books | Author | Title | | Martin Fowler | Analysis Patterns | | Gojko Adzic | Bridging the Communication Gap | And my shopping basket is empty When I add the book “Analysis Patterns” to my shopping basket Then my shopping basket should contain 1 copy of “Analysis Patterns”
  • 5. Copyright © Gaspar NagyCopyright © Gaspar Nagy The Feature File Scenario: Books can be added to the shopping basket Given the following books | Author | Title | | Martin Fowler | Analysis Patterns | | Gojko Adzic | Bridging the Communication Gap | And my shopping basket is empty When I add the book “Analysis Patterns” to my shopping basket Then my shopping basket should contain 1 copy of “Analysis Patterns” Who writes the scenarios? How do you set the title of the scenario? Can I have multiple when/then steps?
  • 6. Copyright © Gaspar NagyCopyright © Gaspar Nagy If you have these questions you are probably on the wrong track…
  • 7. Copyright © Gaspar NagyCopyright © Gaspar Nagy The Sprint Planning
  • 8. Copyright © Gaspar NagyCopyright © Gaspar Nagy Demo: Planning the Pizza Selection Story
  • 9. Copyright © Gaspar NagyCopyright © Gaspar Nagy Explain the story as a PO
  • 10. Copyright © Gaspar NagyCopyright © Gaspar Nagy Let’s write a Gherkin from the result Scenario: ... Given ... When ... Then ...
  • 11. Copyright © Gaspar NagyCopyright © Gaspar Nagy De-briefing • PO was unprepared • We discussed the topics in a foreign language • The domain was known, but not very exact • Quality of notes? • How easy it to write the first scenario? • Quality of scenario?
  • 12. Copyright © Gaspar NagyCopyright © Gaspar Nagy An efficient meeting…
  • 13. Copyright © Gaspar NagyCopyright © Gaspar Nagy Demo: Planning the Pizza Selection Story
  • 14. Copyright © Gaspar NagyCopyright © Gaspar Nagy Participate in the facilitated discussion as PO
  • 15. Copyright © Gaspar NagyCopyright © Gaspar Nagy Should be able to add a pizza to the basket Scenario: Should be able to add a pizza to the basket Given the following pizza menu | name | ingredients | | Aslak Hellesøy | Cucumber, Gherkin, Pickles | | Uncle Bob | Chicken, Low cal cheese | | Chris Matts | Garlic, Wasabi, Tomato | And the shopping basket is empty When I choose a “Chris Matts” pizza Then my basket contains 1 “Chris Matts” pizza
  • 16. Copyright © Gaspar NagyCopyright © Gaspar Nagy Should be able to add extras to the chosen pizza Scenario: Should be able to add extras to the chosen pizza Given the following pizzas in the basket | pizza | extras | | Aslak Hellesøy | - | | Chris Matts | - | And the “Aslak Hellesøy” pizza is selected from the basket When I add extra cheese And I add extra cucumber Then the basket should contain | pizza | extras | | Aslak Hellesøy | +cheese +cucumber | | Chris Matts | - |
  • 17. Copyright © Gaspar NagyCopyright © Gaspar Nagy How It's Made
  • 18. Copyright © Gaspar NagyCopyright © Gaspar Nagy Well guided planning meeting can improve the “BDD-efficiency” quite much • Someone needs to facilitate the discussion – not the PO • The facilitation can be rotated so that everyone gets practice • The facilitator can guide the discussion with • Asking questions • Moderating (stopping?) discussions • Everyone can ask of course…
  • 19. Copyright © Gaspar NagyCopyright © Gaspar Nagy #1 – Pick a guide line • Choose a theme that you can use to order the questions • The “sequence of actions” is usually good • ie. “What you do first?” • If you use story mapping for planning the stories, this comes quite naturally
  • 20. Copyright © Gaspar NagyCopyright © Gaspar Nagy #2 – Keep collecting acceptance criteria • Once you hear an important rule/behavior/check, note it down as an acceptance criterion • Don’t forget that AC is not necessarily text, but formulas, wireframes or anything that describes the required behavior
  • 21. Copyright © Gaspar NagyCopyright © Gaspar Nagy #3 – Make notes visible to everyone • Writing them up to the whiteboard can work well • Using (and sharing on projector) a notepad, OneNote or SpecLog is also very good • Pro: stored already in a searchable form, usually better visible (zoom), easy to go back to earlier notes • Con: harder to get a full overview • Stop the discussion while the AC is captured • The team should have an agreement on the captured result • Was this really what we were discussing about?
  • 22. Copyright © Gaspar NagyCopyright © Gaspar Nagy #4 – Collect examples • Ask for examples if not provided • Examples can help • understanding the topic • discover misunderstandings • keep the requirements real • Discover more: Specification by Example, Example mapping
  • 23. Copyright © Gaspar NagyCopyright © Gaspar Nagy #5 – Write a glossary • As a facilitator, keep watching the domain terms and their usage • Highlight if they are used inconsistently • Suggest choosing a term • “Why don’t we give this a name?” • The terms can be just highlighted in the notes, but you can also build up a glossary as the discussion goes • Discover more: Domain Driven Design
  • 24. Copyright © Gaspar NagyCopyright © Gaspar Nagy +1 – Formulate the scenarios in Gherkin • Not necessarily in the planning meeting • Just before you start implementing the story works usually • Don’t do it alone • Try to find broader agreement especially for the first scenarios in a certain topic • At this point, you are not discussing the behavior, but finalizing the ubiquitous language • Discover more: Three Amigos
  • 25. Copyright © Gaspar NagyCopyright © Gaspar Nagy One page summary #1 – Pick a guide line #2 – Keep collecting acceptance criteria #3 – Make notes visible to everyone #4 – Collect examples #5 – Write a glossary
  • 26. Copyright © Gaspar NagyCopyright © Gaspar Nagy What about my answers? Who writes the scenarios? How do you set the title of the scenario? Can I have multiple when/then steps?
  • 27. Copyright © Gaspar NagyCopyright © Gaspar Nagy The answers • Who writes the scenarios? • It does not matter, because we are all on the same page regarding the behavior. But it makes sense if a developer is typing it in with a tester or PO sitting next to him/her. • How do you set the title of the scenario? • You never set it, you start from the acceptance criterion that will be the title. • Can I have multiple when/then steps? • The scenario is the formalization of an AC – a simple check. For that you usually need only one when step and only one or two then steps.
  • 28. Copyright © Gaspar NagyCopyright © Gaspar Nagy Try is at home!
  • 29. Gáspár Nagy coach • trainer • bdd addict • creator of specflow @gasparnagy • gaspar@specsolutions.eu Gáspár Nagy coach • trainer • bdd addict • creator of specflow @gasparnagy • gaspar@specsolutions.eu Thank you!
  • 30. Copyright © Gaspar NagyCopyright © Gaspar Nagy specsolutions.eu/bddaddict bdd addict given.when.then CAUTION! on the loose