SlideShare a Scribd company logo
1 of 26
Download to read offline
BDD
How to Solve Communication Problems
Rikke Simonsen - @vanilleDK - rikke@reload.dk
• Introduction - Me and BDD
• Exercise 1: Build a Duck
• Exercise 2: Pass the Message
• Exercise 3: Three Amigos Workshop
Workshop Agenda
• Background in Computer Science
• Former tester (and still a tester by heart)
• Project manager in a small consultancy
called Reload specialized in building
complex websites based on the CMS
called Drupal
• Passionate about agile testing and
Behavior Driven Development (BDD)
• Organizer of the “Copenhagen BDD
Meetup”
The Professional Side of Me
• From the land of vikings and the
inventors of Lego (Denmark)
• Have 3 kids with autism and a bunch of
other disabilities (What doesn't kill you
makes you stronger)
• involved in voluntary work and disability
policy (Just as passionate about this as
with testing)
• Town councillor (yes i get scolded a lot)
The Private Side of Me
• Bringing the team together to get a
shared understanding of the problem
domain
• Discussing real world examples instead
of abstract requirements
• Creating a common language to avoid
misunderstandings
• Fleshing out inconsistencies and
functionality gaps
BDD is a Communication Tool
• “Given, When, Then” is just a syntax. It’s
not BDD.
• The value lies primarily in the
conversations, not the automated tests.
• The written specifications from a BDD
workshop can be automated giving you
automated regression tests and living
documentation, but it’s just a pleasant
side effect. It should not be the main
purpose.
BDD is not a Tool for Automation
Having conversations
is more important than
capturing conversations
is more important than
automating conversations
– Liz Keogh, @lunivore
Gherkin
Gherkin is a
Business Readable,
Domain Specific
Language that lets
you describe
software's behaviour
without detailing
how that behaviour
is implemented
Feature: [title]
In order to [achieve some goal]
As a [user]
I need to [make an impact]
Scenario: [title]
Given [some initial context]
When [some action occur]
Then [some observable consequence]
Bad Example
Better Example
Build a duck using these 6 bricks.
You have 40 seconds !
Exercise 1: Build a Duck
• Why did you not build the same?
• Does it matter that you came to
different outcomes?
• What determines whether the different
ducks are acceptable or not?
• Who should decide?
• What could be done to align the
understanding of the specification?
Discuss these Questions
• Even a simple specification can be
interpreted in many different ways
• Our perception is influenced by our
backgrounds, experiences and personal
characteristics
• Whether the different outcomes matter
or not depends on the goal we should
achieve
• It’s the business stakeholders who
decide if the business goal are met or
not
• Knowing why to build something and not
only what to build - helps meeting the
goal
It’s not complicated to build something
that works. It’s much harder to build
something that works as intended and
that delivers the desired business value.
To ensure we meet the right business goal we need to
understand the business domain and what the desired
outcome is rather than what feature to build. Only when
everyone on the team are aligned, we can all pull in the
right direction.
1) Stand up and form 2 lines.
2) The first person in each line gets a
secret message and whispers it to the
next person in line.
3) The message gets passed from person
to person down the line.
4) The last person in the line says the
message out loud when asked.
Rule:
• The message can not be repeated and
can only be whispered
Exercise 2: Pass the Message
• Why did the message change?
• How could the message be stabilized?
Discuss these Questions
• The message changed because it
wasn’t allowed to repeat the message or
speak it out loud.
• It wasn’t possible for the receiver to ask
questions to the sender about words
that was not understood.
• The message could be stabilized by
shortening the chain from the first
person to the last person.
• The message could be stabilized by
sharing the information with everybody
at the same time and allowing them to
discuss it.
3 Amigos
Discussing examples helps exploring the
domain and identifying edge cases. The
discussion leads to new user stories,
rules and examples and flesh out gaps and
inconsistencies that has to be addressed.
Exercise 3: Three Amigos Workshop
Exercise 3: Three Amigos Workshop
Exercise 3: Three Amigos Workshop
• Yellow notes for user stories
• Blue notes for acceptance criteria
• Green notes for examples
• Red notes for open questions
Use real life examples as much as
possible. Examples beats a list of
instructions every single time.
Books:
by John Ferguson Smart by Gojko Adzic
Thank you!
Get in touch: @vanilleDK or rikke@reload.dk

More Related Content

Viewers also liked

Was It Something I Said?
Was It Something I Said?Was It Something I Said?
Was It Something I Said?Duncan Nisbet
 
Testing responsive websites @EuroTestConf
Testing responsive websites @EuroTestConfTesting responsive websites @EuroTestConf
Testing responsive websites @EuroTestConfGita Malinovska
 
How deep are your tests?
How deep are your tests?How deep are your tests?
How deep are your tests?TSundberg
 
Testing in a continuous delivery world
Testing in a continuous delivery worldTesting in a continuous delivery world
Testing in a continuous delivery worldWouter Lagerweij
 
The Volcano - Enterprise kanban board
The Volcano - Enterprise kanban boardThe Volcano - Enterprise kanban board
The Volcano - Enterprise kanban boardTomas Rybing
 
Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)
Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)
Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)Neil Studd
 

Viewers also liked (6)

Was It Something I Said?
Was It Something I Said?Was It Something I Said?
Was It Something I Said?
 
Testing responsive websites @EuroTestConf
Testing responsive websites @EuroTestConfTesting responsive websites @EuroTestConf
Testing responsive websites @EuroTestConf
 
How deep are your tests?
How deep are your tests?How deep are your tests?
How deep are your tests?
 
Testing in a continuous delivery world
Testing in a continuous delivery worldTesting in a continuous delivery world
Testing in a continuous delivery world
 
The Volcano - Enterprise kanban board
The Volcano - Enterprise kanban boardThe Volcano - Enterprise kanban board
The Volcano - Enterprise kanban board
 
Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)
Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)
Testing in the Dark: Lessons in Cross-Site Communication (MEWT 2015)
 

Similar to Bdd - how to solve communication problems

Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools
Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools
Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools Nathalie Reid
 
Technical Communication for Unity Developers
Technical Communication for Unity DevelopersTechnical Communication for Unity Developers
Technical Communication for Unity DevelopersUnity Technologies
 
The 360 Developer
The 360 DeveloperThe 360 Developer
The 360 Developerenteritos
 
How to Talk About Your Open Source Project So People Get It
How to Talk About Your Open Source Project So People Get ItHow to Talk About Your Open Source Project So People Get It
How to Talk About Your Open Source Project So People Get ItAll Things Open
 
Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR 2017
Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR  2017Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR  2017
Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR 2017Sylvia MacDonald
 
The Path to Good Software Hygiene Betty Le Dem
The Path to Good Software Hygiene Betty Le DemThe Path to Good Software Hygiene Betty Le Dem
The Path to Good Software Hygiene Betty Le Demcontaokubo
 
Twenty years of Information Overload Solutions
Twenty years of Information Overload SolutionsTwenty years of Information Overload Solutions
Twenty years of Information Overload SolutionsNathan Zeldes
 
Not Another Paper: Alternative Assessments with Technology
Not Another Paper: Alternative Assessments with TechnologyNot Another Paper: Alternative Assessments with Technology
Not Another Paper: Alternative Assessments with TechnologyEdTechTeacher.org
 
501 Talks Tech: Design Thinking Workshop by Dupla Studios
501 Talks Tech: Design Thinking Workshop by Dupla Studios501 Talks Tech: Design Thinking Workshop by Dupla Studios
501 Talks Tech: Design Thinking Workshop by Dupla Studios501 Commons
 
Collaboration Within A Multidisciplinary Team
Collaboration Within A Multidisciplinary Team Collaboration Within A Multidisciplinary Team
Collaboration Within A Multidisciplinary Team Michele Ide-Smith
 
Interface Design for Elearning - Tips and Tricks
Interface Design for Elearning - Tips and TricksInterface Design for Elearning - Tips and Tricks
Interface Design for Elearning - Tips and TricksJulie Dirksen
 
Collaborative Information Architecture (ias17)
Collaborative Information Architecture (ias17)Collaborative Information Architecture (ias17)
Collaborative Information Architecture (ias17)Abby Covert
 
Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...
Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...
Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...SENF - Social Media Consulting
 
NLJUG speaker academy 2023 - session 1
NLJUG speaker academy 2023 - session 1NLJUG speaker academy 2023 - session 1
NLJUG speaker academy 2023 - session 1Bert Jan Schrijver
 
Object Oriented Design
Object Oriented Design Object Oriented Design
Object Oriented Design DivyaSure
 
User Interface Design- Module 2 Uid Process
User Interface Design- Module 2 Uid ProcessUser Interface Design- Module 2 Uid Process
User Interface Design- Module 2 Uid ProcessbrindaN
 
The importance of being communicative (vers. 2014)
The importance of being communicative (vers. 2014)The importance of being communicative (vers. 2014)
The importance of being communicative (vers. 2014)Frieda Brioschi
 

Similar to Bdd - how to solve communication problems (20)

Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools
Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools
Virtual Network Building: Connecting Trauma Experts Through Collaboration Tools
 
Technical Communication for Unity Developers
Technical Communication for Unity DevelopersTechnical Communication for Unity Developers
Technical Communication for Unity Developers
 
The 360 Developer
The 360 DeveloperThe 360 Developer
The 360 Developer
 
How to Talk About Your Open Source Project So People Get It
How to Talk About Your Open Source Project So People Get ItHow to Talk About Your Open Source Project So People Get It
How to Talk About Your Open Source Project So People Get It
 
Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR 2017
Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR  2017Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR  2017
Sylvia MacDonald - How the Three Amigos made us more effective - EuroSTAR 2017
 
The Path to Good Software Hygiene Betty Le Dem
The Path to Good Software Hygiene Betty Le DemThe Path to Good Software Hygiene Betty Le Dem
The Path to Good Software Hygiene Betty Le Dem
 
2012 staff-immediate tech infusion
2012 staff-immediate tech infusion2012 staff-immediate tech infusion
2012 staff-immediate tech infusion
 
Twenty years of Information Overload Solutions
Twenty years of Information Overload SolutionsTwenty years of Information Overload Solutions
Twenty years of Information Overload Solutions
 
Introduction to Design Thinking Workshop
Introduction to Design Thinking WorkshopIntroduction to Design Thinking Workshop
Introduction to Design Thinking Workshop
 
Not Another Paper: Alternative Assessments with Technology
Not Another Paper: Alternative Assessments with TechnologyNot Another Paper: Alternative Assessments with Technology
Not Another Paper: Alternative Assessments with Technology
 
501 Talks Tech: Design Thinking Workshop by Dupla Studios
501 Talks Tech: Design Thinking Workshop by Dupla Studios501 Talks Tech: Design Thinking Workshop by Dupla Studios
501 Talks Tech: Design Thinking Workshop by Dupla Studios
 
Collaboration Within A Multidisciplinary Team
Collaboration Within A Multidisciplinary Team Collaboration Within A Multidisciplinary Team
Collaboration Within A Multidisciplinary Team
 
Interface Design for Elearning - Tips and Tricks
Interface Design for Elearning - Tips and TricksInterface Design for Elearning - Tips and Tricks
Interface Design for Elearning - Tips and Tricks
 
Collaborative Information Architecture (ias17)
Collaborative Information Architecture (ias17)Collaborative Information Architecture (ias17)
Collaborative Information Architecture (ias17)
 
Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...
Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...
Life and workhacking with digital tools, 2014 edition. © Jan-Hendrik Senf, ww...
 
NLJUG speaker academy 2023 - session 1
NLJUG speaker academy 2023 - session 1NLJUG speaker academy 2023 - session 1
NLJUG speaker academy 2023 - session 1
 
Object Oriented Design
Object Oriented Design Object Oriented Design
Object Oriented Design
 
User Interface Design- Module 2 Uid Process
User Interface Design- Module 2 Uid ProcessUser Interface Design- Module 2 Uid Process
User Interface Design- Module 2 Uid Process
 
The importance of being communicative (vers. 2014)
The importance of being communicative (vers. 2014)The importance of being communicative (vers. 2014)
The importance of being communicative (vers. 2014)
 
Csu sept2011 4ggl
Csu sept2011 4gglCsu sept2011 4ggl
Csu sept2011 4ggl
 

More from Reload! A/S

Skab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekterSkab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekterReload! A/S
 
Ryk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkelighedenRyk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkelighedenReload! A/S
 
Digital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojektDigital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojektReload! A/S
 
Digital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra BonnierDigital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra BonnierReload! A/S
 
Digitale projekter der fejlede
Digitale projekter der fejledeDigitale projekter der fejlede
Digitale projekter der fejledeReload! A/S
 
Smid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedetSmid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedetReload! A/S
 
Produktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/DanfossProduktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/DanfossReload! A/S
 
Produktstrategi den 28.11.19
Produktstrategi den 28.11.19Produktstrategi den 28.11.19
Produktstrategi den 28.11.19Reload! A/S
 
DevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSeeDevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSeeReload! A/S
 
Scan & betal how do we do agile and what do we learn - reload 26 9-19
Scan & betal   how do we do agile and what do we learn - reload 26 9-19Scan & betal   how do we do agile and what do we learn - reload 26 9-19
Scan & betal how do we do agile and what do we learn - reload 26 9-19Reload! A/S
 
Gaa hjem-moede 26. september 2019 agile metoder der virker
Gaa hjem-moede 26. september 2019  agile metoder der virkerGaa hjem-moede 26. september 2019  agile metoder der virker
Gaa hjem-moede 26. september 2019 agile metoder der virkerReload! A/S
 
Det Danske Spejderkorps
Det Danske SpejderkorpsDet Danske Spejderkorps
Det Danske SpejderkorpsReload! A/S
 
Tillidsbaseret samarbejde
Tillidsbaseret samarbejdeTillidsbaseret samarbejde
Tillidsbaseret samarbejdeReload! A/S
 
Sådan leder du digital transformation
Sådan leder du digital transformationSådan leder du digital transformation
Sådan leder du digital transformationReload! A/S
 
Digital Transformation i DAC
Digital Transformation i DACDigital Transformation i DAC
Digital Transformation i DACReload! A/S
 
Drupalcamp2016 dockerftw
Drupalcamp2016 dockerftwDrupalcamp2016 dockerftw
Drupalcamp2016 dockerftwReload! A/S
 
Reload præsentation
Reload præsentationReload præsentation
Reload præsentationReload! A/S
 
Agile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_loveAgile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_loveReload! A/S
 

More from Reload! A/S (20)

Skab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekterSkab tidlig læring i digitale projekter
Skab tidlig læring i digitale projekter
 
Ryk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkelighedenRyk i skyen eller dø - cloud erfaringer fra virkeligheden
Ryk i skyen eller dø - cloud erfaringer fra virkeligheden
 
Digital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojektDigital transformation er også et organisatorisk forandringsprojekt
Digital transformation er også et organisatorisk forandringsprojekt
 
Digital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra BonnierDigital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
Digital vs kulturel transformation med Nikolaj Opstrup fra Bonnier
 
Digitale projekter der fejlede
Digitale projekter der fejledeDigitale projekter der fejlede
Digitale projekter der fejlede
 
Smid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedetSmid planen væk og skab forretningsværdi i stedet
Smid planen væk og skab forretningsværdi i stedet
 
Produktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/DanfossProduktstrategi hos The Ramp/Danfoss
Produktstrategi hos The Ramp/Danfoss
 
Produktstrategi den 28.11.19
Produktstrategi den 28.11.19Produktstrategi den 28.11.19
Produktstrategi den 28.11.19
 
DevOps
DevOpsDevOps
DevOps
 
DevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSeeDevOps og erfaringer med Spotify-modellen hos YouSee
DevOps og erfaringer med Spotify-modellen hos YouSee
 
Scan & betal how do we do agile and what do we learn - reload 26 9-19
Scan & betal   how do we do agile and what do we learn - reload 26 9-19Scan & betal   how do we do agile and what do we learn - reload 26 9-19
Scan & betal how do we do agile and what do we learn - reload 26 9-19
 
Gaa hjem-moede 26. september 2019 agile metoder der virker
Gaa hjem-moede 26. september 2019  agile metoder der virkerGaa hjem-moede 26. september 2019  agile metoder der virker
Gaa hjem-moede 26. september 2019 agile metoder der virker
 
Det Danske Spejderkorps
Det Danske SpejderkorpsDet Danske Spejderkorps
Det Danske Spejderkorps
 
Tillidsbaseret samarbejde
Tillidsbaseret samarbejdeTillidsbaseret samarbejde
Tillidsbaseret samarbejde
 
Sådan leder du digital transformation
Sådan leder du digital transformationSådan leder du digital transformation
Sådan leder du digital transformation
 
Digital Transformation i DAC
Digital Transformation i DACDigital Transformation i DAC
Digital Transformation i DAC
 
Drupalcamp2016 dockerftw
Drupalcamp2016 dockerftwDrupalcamp2016 dockerftw
Drupalcamp2016 dockerftw
 
Smk -2015.09.30
Smk  -2015.09.30Smk  -2015.09.30
Smk -2015.09.30
 
Reload præsentation
Reload præsentationReload præsentation
Reload præsentation
 
Agile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_loveAgile that works_and_the_tools_we_love
Agile that works_and_the_tools_we_love
 

Recently uploaded

Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationBuild Intuit
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfwill854175
 
Tecnogravura, Cylinder Engraving for Rotogravure
Tecnogravura, Cylinder Engraving for RotogravureTecnogravura, Cylinder Engraving for Rotogravure
Tecnogravura, Cylinder Engraving for RotogravureAntonio de Llamas
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Automation Ops Series: Session 3 - Solutions management
Automation Ops Series: Session 3 - Solutions managementAutomation Ops Series: Session 3 - Solutions management
Automation Ops Series: Session 3 - Solutions managementDianaGray10
 
Tetracrom printing process for packaging with CMYK+
Tetracrom printing process for packaging with CMYK+Tetracrom printing process for packaging with CMYK+
Tetracrom printing process for packaging with CMYK+Antonio de Llamas
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
full stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdffull stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdfHulkTheDevil
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfROWELL MARQUINA
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Women in Automation 2024: Career session - explore career paths in automation
Women in Automation 2024: Career session - explore career paths in automationWomen in Automation 2024: Career session - explore career paths in automation
Women in Automation 2024: Career session - explore career paths in automationDianaGray10
 

Recently uploaded (20)

Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientation
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdf
 
Tecnogravura, Cylinder Engraving for Rotogravure
Tecnogravura, Cylinder Engraving for RotogravureTecnogravura, Cylinder Engraving for Rotogravure
Tecnogravura, Cylinder Engraving for Rotogravure
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Automation Ops Series: Session 3 - Solutions management
Automation Ops Series: Session 3 - Solutions managementAutomation Ops Series: Session 3 - Solutions management
Automation Ops Series: Session 3 - Solutions management
 
Tetracrom printing process for packaging with CMYK+
Tetracrom printing process for packaging with CMYK+Tetracrom printing process for packaging with CMYK+
Tetracrom printing process for packaging with CMYK+
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
full stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdffull stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdf
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdf
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Women in Automation 2024: Career session - explore career paths in automation
Women in Automation 2024: Career session - explore career paths in automationWomen in Automation 2024: Career session - explore career paths in automation
Women in Automation 2024: Career session - explore career paths in automation
 

Bdd - how to solve communication problems

  • 1. BDD How to Solve Communication Problems Rikke Simonsen - @vanilleDK - rikke@reload.dk
  • 2. • Introduction - Me and BDD • Exercise 1: Build a Duck • Exercise 2: Pass the Message • Exercise 3: Three Amigos Workshop Workshop Agenda
  • 3. • Background in Computer Science • Former tester (and still a tester by heart) • Project manager in a small consultancy called Reload specialized in building complex websites based on the CMS called Drupal • Passionate about agile testing and Behavior Driven Development (BDD) • Organizer of the “Copenhagen BDD Meetup” The Professional Side of Me
  • 4. • From the land of vikings and the inventors of Lego (Denmark) • Have 3 kids with autism and a bunch of other disabilities (What doesn't kill you makes you stronger) • involved in voluntary work and disability policy (Just as passionate about this as with testing) • Town councillor (yes i get scolded a lot) The Private Side of Me
  • 5. • Bringing the team together to get a shared understanding of the problem domain • Discussing real world examples instead of abstract requirements • Creating a common language to avoid misunderstandings • Fleshing out inconsistencies and functionality gaps BDD is a Communication Tool
  • 6. • “Given, When, Then” is just a syntax. It’s not BDD. • The value lies primarily in the conversations, not the automated tests. • The written specifications from a BDD workshop can be automated giving you automated regression tests and living documentation, but it’s just a pleasant side effect. It should not be the main purpose. BDD is not a Tool for Automation
  • 7. Having conversations is more important than capturing conversations is more important than automating conversations – Liz Keogh, @lunivore
  • 8. Gherkin Gherkin is a Business Readable, Domain Specific Language that lets you describe software's behaviour without detailing how that behaviour is implemented Feature: [title] In order to [achieve some goal] As a [user] I need to [make an impact] Scenario: [title] Given [some initial context] When [some action occur] Then [some observable consequence]
  • 11. Build a duck using these 6 bricks. You have 40 seconds ! Exercise 1: Build a Duck
  • 12. • Why did you not build the same? • Does it matter that you came to different outcomes? • What determines whether the different ducks are acceptable or not? • Who should decide? • What could be done to align the understanding of the specification? Discuss these Questions
  • 13. • Even a simple specification can be interpreted in many different ways • Our perception is influenced by our backgrounds, experiences and personal characteristics • Whether the different outcomes matter or not depends on the goal we should achieve • It’s the business stakeholders who decide if the business goal are met or not • Knowing why to build something and not only what to build - helps meeting the goal
  • 14. It’s not complicated to build something that works. It’s much harder to build something that works as intended and that delivers the desired business value.
  • 15. To ensure we meet the right business goal we need to understand the business domain and what the desired outcome is rather than what feature to build. Only when everyone on the team are aligned, we can all pull in the right direction.
  • 16. 1) Stand up and form 2 lines. 2) The first person in each line gets a secret message and whispers it to the next person in line. 3) The message gets passed from person to person down the line. 4) The last person in the line says the message out loud when asked. Rule: • The message can not be repeated and can only be whispered Exercise 2: Pass the Message
  • 17. • Why did the message change? • How could the message be stabilized? Discuss these Questions
  • 18. • The message changed because it wasn’t allowed to repeat the message or speak it out loud. • It wasn’t possible for the receiver to ask questions to the sender about words that was not understood. • The message could be stabilized by shortening the chain from the first person to the last person. • The message could be stabilized by sharing the information with everybody at the same time and allowing them to discuss it.
  • 20. Discussing examples helps exploring the domain and identifying edge cases. The discussion leads to new user stories, rules and examples and flesh out gaps and inconsistencies that has to be addressed.
  • 21. Exercise 3: Three Amigos Workshop
  • 22. Exercise 3: Three Amigos Workshop
  • 23. Exercise 3: Three Amigos Workshop • Yellow notes for user stories • Blue notes for acceptance criteria • Green notes for examples • Red notes for open questions
  • 24. Use real life examples as much as possible. Examples beats a list of instructions every single time.
  • 25. Books: by John Ferguson Smart by Gojko Adzic
  • 26. Thank you! Get in touch: @vanilleDK or rikke@reload.dk