SlideShare a Scribd company logo
Learning from mistakes with BDD

  @tonybruce77 and @andrewjutton
Setting the scene
• Big Greenfield project.
• Transitioning the way we work in general.
• Introducing BDD.
1) Write scenarios as a team
• Don’t get one person to write them! It’s not all
  about one persons view.
  Scenario: Select Insurer
      Given that an insurer is not selected
      When that insurer is selected
      Then that insurer is displayed as selected

  Scenario: Deselect Insurer
      Given that an insurer is selected
      When that insurer is deselected
      Then that insurer is displayed as deselected
2) Include the SME’s, domain experts
             and customers
• These guys understand the problem domain
  more than anyone.
3) Don’t spend hours arguing about
      the correct language to use
• Try and land a few ground rules early.
4) Don’t include implementation
           details in scenarios
• Avoid tying scenarios to the UI by referencing
  page elements or controls.
  Scenario: Display ‘Insurer Selection’ screen
      Given that Insurer selection screen has been invoked
      When the Insurer selection UI is rendered
      Then the ‘Insurer Selection’ page is displayed
      And the ‘Risk Variation Name’ field is displayed
      And the ‘Risk Variation Name’ field is selected
      And the ‘Customer Name’ is displayed
      And only breadcrumb ‘Select Insurer’ is displayed
      And all insurers setup in the system for the policy type are displayed
      And all insurers setup in the system for the policy type are not selected
      And the ‘Next’ button is disabled
5) Keep scenarios precise
• No one will read or understand a 20-30 line
  scenario.
6) Don’t rush into automation
• It’s not all about the tool and automated tests
  can be a big overhead.
7) Execute the tests as part of your CI
      process as early as possible
• Get the tests running as part of the build as
  soon as possible, this keeps the test alive.
8) Use your scenarios
• You’ve put the time in to write the scenarios,
  use them!
9) Every scenario is negotiable
• Everything is subject to change.




                http://www.lastexittonowhere.com
10) Use examples to reinforce the
              scenarios
• Examples bring scenarios to life! They make
  them dynamic and they provide test data to
  verify that the scenario meets it’s goal.
11) Living Documentation
• Make this available to the whole business.
12) Drive the sprint review meeting
         through the scenarios
• A story may only be considered complete
  when all your scenarios have been
  implemented.
13) See what others are doing
• That’s why we’re all here.
14) Have the conversation!
• Get the whole team in a room and just talk
  through the requirements.
Summary
• Started to write the scenarios more collaboratively as a
  team.
• We are learning from mistakes
   – The language evolves, it is not instant
• More developers are more interested
   – Slowly more examples being written
• Working together more
   – Business getting move involved
• Helps clear up miscommunication and ambiguity
• Can add value without the automation
   – Slowly adding more automation
• Helps enable teamwork
Thank you

More Related Content

Viewers also liked

Writing for results, one day course, master slides without notes
Writing for results, one day course, master slides without notesWriting for results, one day course, master slides without notes
Writing for results, one day course, master slides without notes
Scott Keyser
 
Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...
Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...
Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...
ZX7
 
Corpus christi de san vicente de alcántara
Corpus christi de san vicente de alcántaraCorpus christi de san vicente de alcántara
Corpus christi de san vicente de alcántaraLauramendezramos
 
Applications Of Jatropha Products
Applications Of Jatropha Products  Applications Of Jatropha Products
Applications Of Jatropha Products
ZX7
 
Charming Candles
Charming CandlesCharming Candles
Charming Candleseperiod
 
Prezentare Your Promo Innovaty
Prezentare Your Promo InnovatyPrezentare Your Promo Innovaty
Prezentare Your Promo InnovatyAndreea Vladau
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing Presentation
himanshu_ppt
 
Catalogo di barneschi vivai
Catalogo di barneschi vivaiCatalogo di barneschi vivai
Catalogo di barneschi vivaiBarneschiVivai
 
Demystifying Wordpress Part 2
Demystifying Wordpress Part 2Demystifying Wordpress Part 2
Demystifying Wordpress Part 2
weareonfire
 
group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...
group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...
group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...
trishakolens
 
Arijitbasu 2.docx
Arijitbasu 2.docxArijitbasu 2.docx
Arijitbasu 2.docxArijit Basu
 
Solid Bytes ICT bedrijfspresentatie
Solid Bytes ICT bedrijfspresentatieSolid Bytes ICT bedrijfspresentatie
Solid Bytes ICT bedrijfspresentatie
solidslide
 
Investor Relations Podcasts Using Buzzsprout
Investor Relations Podcasts Using BuzzsproutInvestor Relations Podcasts Using Buzzsprout
Investor Relations Podcasts Using BuzzsproutIR Smartt Inc.
 
Servicios del internet
Servicios del internetServicios del internet
Servicios del internet
JULISSA RODRIGUEZ
 
March Newsletter
March NewsletterMarch Newsletter
March Newsletter
mjcunny
 
SEO Day 2013 SEO Insights Baidu - Siwen Zhang
SEO Day 2013 SEO Insights Baidu - Siwen ZhangSEO Day 2013 SEO Insights Baidu - Siwen Zhang
SEO Day 2013 SEO Insights Baidu - Siwen Zhang
Siwen Zhang
 

Viewers also liked (16)

Writing for results, one day course, master slides without notes
Writing for results, one day course, master slides without notesWriting for results, one day course, master slides without notes
Writing for results, one day course, master slides without notes
 
Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...
Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...
Biodiesel Production from Jatropha Curcas Oil Using Potassium Carbonate as an...
 
Corpus christi de san vicente de alcántara
Corpus christi de san vicente de alcántaraCorpus christi de san vicente de alcántara
Corpus christi de san vicente de alcántara
 
Applications Of Jatropha Products
Applications Of Jatropha Products  Applications Of Jatropha Products
Applications Of Jatropha Products
 
Charming Candles
Charming CandlesCharming Candles
Charming Candles
 
Prezentare Your Promo Innovaty
Prezentare Your Promo InnovatyPrezentare Your Promo Innovaty
Prezentare Your Promo Innovaty
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing Presentation
 
Catalogo di barneschi vivai
Catalogo di barneschi vivaiCatalogo di barneschi vivai
Catalogo di barneschi vivai
 
Demystifying Wordpress Part 2
Demystifying Wordpress Part 2Demystifying Wordpress Part 2
Demystifying Wordpress Part 2
 
group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...
group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...
group of south korea springhill: The Stalking of Korean Hip Hop Superstar Dan...
 
Arijitbasu 2.docx
Arijitbasu 2.docxArijitbasu 2.docx
Arijitbasu 2.docx
 
Solid Bytes ICT bedrijfspresentatie
Solid Bytes ICT bedrijfspresentatieSolid Bytes ICT bedrijfspresentatie
Solid Bytes ICT bedrijfspresentatie
 
Investor Relations Podcasts Using Buzzsprout
Investor Relations Podcasts Using BuzzsproutInvestor Relations Podcasts Using Buzzsprout
Investor Relations Podcasts Using Buzzsprout
 
Servicios del internet
Servicios del internetServicios del internet
Servicios del internet
 
March Newsletter
March NewsletterMarch Newsletter
March Newsletter
 
SEO Day 2013 SEO Insights Baidu - Siwen Zhang
SEO Day 2013 SEO Insights Baidu - Siwen ZhangSEO Day 2013 SEO Insights Baidu - Siwen Zhang
SEO Day 2013 SEO Insights Baidu - Siwen Zhang
 

Similar to Learning from mistakes with BDD

Xamariners - BDD + Mobile
Xamariners - BDD + MobileXamariners - BDD + Mobile
Xamariners - BDD + Mobile
Xamariners
 
WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)
WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)
WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)
Lee Duddell
 
WhatUsersDo Get Going With Users June 2015
WhatUsersDo Get Going With Users June 2015WhatUsersDo Get Going With Users June 2015
WhatUsersDo Get Going With Users June 2015
Lee Duddell
 
WhatUsersDo Get Going With Users - June 2015
WhatUsersDo Get Going With Users - June 2015WhatUsersDo Get Going With Users - June 2015
WhatUsersDo Get Going With Users - June 2015
Lee Duddell
 
Intro to TDD & BDD
Intro to TDD & BDDIntro to TDD & BDD
Intro to TDD & BDD
devObjective
 
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
ITB2015 - Behavior Driven Development, Automation and Continuous IntegrationITB2015 - Behavior Driven Development, Automation and Continuous Integration
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
Ortus Solutions, Corp
 
2015 in tothebox-introtddbdd
2015 in tothebox-introtddbdd2015 in tothebox-introtddbdd
2015 in tothebox-introtddbdd
ColdFusionConference
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
Agile Testing Alliance
 
Wireframe and MVP
Wireframe and MVPWireframe and MVP
Wireframe and MVP
Lian Xun
 
Specification workshops
Specification workshopsSpecification workshops
Specification workshops
Kishen Simbhoedatpanday
 
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Building In Quality: The Beauty Of Behavior Driven Development (BDD)Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Synerzip
 
Story boarding, Handwritten recognition, Inductive, subductive, abductive met...
Story boarding, Handwritten recognition, Inductive, subductive, abductive met...Story boarding, Handwritten recognition, Inductive, subductive, abductive met...
Story boarding, Handwritten recognition, Inductive, subductive, abductive met...
Faisal Shahzad Khan
 
Adopting Domain-Driven Design in your organization
Adopting Domain-Driven Design in your organizationAdopting Domain-Driven Design in your organization
Adopting Domain-Driven Design in your organization
Aleix Morgadas
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore
 
The Whole Story of The User Story
The Whole Story of The User StoryThe Whole Story of The User Story
The Whole Story of The User Story
XPDays
 
Scrum + bdd + ddd
Scrum + bdd + dddScrum + bdd + ddd
Scrum + bdd + ddd
Helder De Oliveira
 
Software Methodologies & Frameworks
Software Methodologies & FrameworksSoftware Methodologies & Frameworks
Software Methodologies & Frameworks
Maisara Khedr
 
Using Defensive Pessimism to Build Great Software at YML
Using Defensive Pessimism to Build Great Software at YMLUsing Defensive Pessimism to Build Great Software at YML
Using Defensive Pessimism to Build Great Software at YML
Adam_Talcott
 
User Story
User StoryUser Story
User Story
Sunil Jakkaraju
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
Intelliware Development Inc.
 

Similar to Learning from mistakes with BDD (20)

Xamariners - BDD + Mobile
Xamariners - BDD + MobileXamariners - BDD + Mobile
Xamariners - BDD + Mobile
 
WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)
WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)
WhatUsersDo Get Going with Users - June 2015 (Charlotte Street Hotel)
 
WhatUsersDo Get Going With Users June 2015
WhatUsersDo Get Going With Users June 2015WhatUsersDo Get Going With Users June 2015
WhatUsersDo Get Going With Users June 2015
 
WhatUsersDo Get Going With Users - June 2015
WhatUsersDo Get Going With Users - June 2015WhatUsersDo Get Going With Users - June 2015
WhatUsersDo Get Going With Users - June 2015
 
Intro to TDD & BDD
Intro to TDD & BDDIntro to TDD & BDD
Intro to TDD & BDD
 
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
ITB2015 - Behavior Driven Development, Automation and Continuous IntegrationITB2015 - Behavior Driven Development, Automation and Continuous Integration
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
 
2015 in tothebox-introtddbdd
2015 in tothebox-introtddbdd2015 in tothebox-introtddbdd
2015 in tothebox-introtddbdd
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
 
Wireframe and MVP
Wireframe and MVPWireframe and MVP
Wireframe and MVP
 
Specification workshops
Specification workshopsSpecification workshops
Specification workshops
 
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Building In Quality: The Beauty Of Behavior Driven Development (BDD)Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
 
Story boarding, Handwritten recognition, Inductive, subductive, abductive met...
Story boarding, Handwritten recognition, Inductive, subductive, abductive met...Story boarding, Handwritten recognition, Inductive, subductive, abductive met...
Story boarding, Handwritten recognition, Inductive, subductive, abductive met...
 
Adopting Domain-Driven Design in your organization
Adopting Domain-Driven Design in your organizationAdopting Domain-Driven Design in your organization
Adopting Domain-Driven Design in your organization
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
 
The Whole Story of The User Story
The Whole Story of The User StoryThe Whole Story of The User Story
The Whole Story of The User Story
 
Scrum + bdd + ddd
Scrum + bdd + dddScrum + bdd + ddd
Scrum + bdd + ddd
 
Software Methodologies & Frameworks
Software Methodologies & FrameworksSoftware Methodologies & Frameworks
Software Methodologies & Frameworks
 
Using Defensive Pessimism to Build Great Software at YML
Using Defensive Pessimism to Build Great Software at YMLUsing Defensive Pessimism to Build Great Software at YML
Using Defensive Pessimism to Build Great Software at YML
 
User Story
User StoryUser Story
User Story
 
Agile Story Writing
Agile Story WritingAgile Story Writing
Agile Story Writing
 

Recently uploaded

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 

Recently uploaded (20)

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 

Learning from mistakes with BDD

  • 1. Learning from mistakes with BDD @tonybruce77 and @andrewjutton
  • 2. Setting the scene • Big Greenfield project. • Transitioning the way we work in general. • Introducing BDD.
  • 3. 1) Write scenarios as a team • Don’t get one person to write them! It’s not all about one persons view. Scenario: Select Insurer Given that an insurer is not selected When that insurer is selected Then that insurer is displayed as selected Scenario: Deselect Insurer Given that an insurer is selected When that insurer is deselected Then that insurer is displayed as deselected
  • 4. 2) Include the SME’s, domain experts and customers • These guys understand the problem domain more than anyone.
  • 5. 3) Don’t spend hours arguing about the correct language to use • Try and land a few ground rules early.
  • 6. 4) Don’t include implementation details in scenarios • Avoid tying scenarios to the UI by referencing page elements or controls. Scenario: Display ‘Insurer Selection’ screen Given that Insurer selection screen has been invoked When the Insurer selection UI is rendered Then the ‘Insurer Selection’ page is displayed And the ‘Risk Variation Name’ field is displayed And the ‘Risk Variation Name’ field is selected And the ‘Customer Name’ is displayed And only breadcrumb ‘Select Insurer’ is displayed And all insurers setup in the system for the policy type are displayed And all insurers setup in the system for the policy type are not selected And the ‘Next’ button is disabled
  • 7. 5) Keep scenarios precise • No one will read or understand a 20-30 line scenario.
  • 8. 6) Don’t rush into automation • It’s not all about the tool and automated tests can be a big overhead.
  • 9. 7) Execute the tests as part of your CI process as early as possible • Get the tests running as part of the build as soon as possible, this keeps the test alive.
  • 10. 8) Use your scenarios • You’ve put the time in to write the scenarios, use them!
  • 11. 9) Every scenario is negotiable • Everything is subject to change. http://www.lastexittonowhere.com
  • 12. 10) Use examples to reinforce the scenarios • Examples bring scenarios to life! They make them dynamic and they provide test data to verify that the scenario meets it’s goal.
  • 13. 11) Living Documentation • Make this available to the whole business.
  • 14. 12) Drive the sprint review meeting through the scenarios • A story may only be considered complete when all your scenarios have been implemented.
  • 15. 13) See what others are doing • That’s why we’re all here.
  • 16. 14) Have the conversation! • Get the whole team in a room and just talk through the requirements.
  • 17. Summary • Started to write the scenarios more collaboratively as a team. • We are learning from mistakes – The language evolves, it is not instant • More developers are more interested – Slowly more examples being written • Working together more – Business getting move involved • Helps clear up miscommunication and ambiguity • Can add value without the automation – Slowly adding more automation • Helps enable teamwork