SlideShare a Scribd company logo
1 of 30
Download to read offline
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 IdeaScott 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
 
Untangling spring week2
Untangling spring week2Untangling spring week2
Untangling spring week2Derek Jacoby
 
Agile project inception workshop
Agile project inception workshopAgile project inception workshop
Agile project inception workshopBill Bourne
 
QA Fest 2015. Gáspár Nagy. BDD Crash Course for Testers
QA Fest 2015. Gáspár Nagy. BDD Crash Course for TestersQA Fest 2015. Gáspár Nagy. BDD Crash Course for Testers
QA Fest 2015. Gáspár Nagy. BDD Crash Course for TestersQAFest
 
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-StepEd Magnin
 
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 DevOpsBryan 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 AgilityHansoft AB
 
Usability Testing: Targeting Mobile Devices
Usability Testing: Targeting Mobile DevicesUsability Testing: Targeting Mobile Devices
Usability Testing: Targeting Mobile DevicesWayne Pau
 
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 projectDominikBalint
 
Personal production project
Personal production projectPersonal production project
Personal production projectDominikBalint
 
Design Cycle
Design CycleDesign Cycle
Design Cyclekodigs
 

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
 
QA Fest 2015. Gáspár Nagy. BDD Crash Course for Testers
QA Fest 2015. Gáspár Nagy. BDD Crash Course for TestersQA Fest 2015. Gáspár Nagy. BDD Crash Course for Testers
QA Fest 2015. Gáspár Nagy. BDD Crash Course for Testers
 
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
 

More from 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 StrategyGá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 2023Gá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 (10)

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

%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile EnvironmentVictorSzoltysek
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 

Recently uploaded (20)

%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 

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