SlideShare uma empresa Scribd logo
1 de 23
An ATDD Case Study
So what’s the problem?
Acceptance Criteria
Given I am a logged in user

When I go to the final checkout page

Then I should see the total cost of the order
broken down by product cost, tax, and shipping
charges
     And I should see the total cost of the order
The 3 Amigos
The 3 Amigos
     “…it’s like delivering a baby.”
Feature: Process an order
Given I am a logged in user
When I go to the final checkout page
Then I should see the total cost of the order broken down by product
cost, tax, and shipping charges
And I should see the total cost of the order

• Order total = total cost of products on the order + tax + shipping
  charges
• Tax:
    – Ohio = 7%
    – Michigan = 6.5%
    – Other states = 0%
• Shipping:
    – If total cost of products (before tax >= $25), shipping is free, otherwise
      $5
Definition of Done
The Board
“Before
                     ”




What happens when testing isn’t included in your
definition of done
“After
                      ”




What happens when testing IS included in your
definition of done
Who Writes the Tests
Co-location
“The Pod”
Open workspace
Continuous Integration
Reasonably Thorough
            Requirements
"Walking on water and developing software from a
specification are easy if both are frozen." ~ Edward V.
Berard
Project Management
•   Self-directed teams
•   Everyone is responsible
•   PMs lay out the roadmap
•   Shared risk with the business
•   Risk based testing
An Incremental Process
Why work incrementally towards
  continuous improvement?
We’re not there yet…
• Continuous improvement across teams
• Better involvement with business sponsors
• More visibility of continuous integration
  build
• 75% of test cases automated in 2012
Thanks!
• Paul Bahler
  – pbahler@igsenergy.com
  – @PaulBahler
• Kevin Chivington
  – kchivington@igsenergy.com
• Jon Kruger
  – jon@jonkruger.com
  – @JonKruger

Mais conteúdo relacionado

Destaque (6)

The Business of You: 10 Steps To Run Your Career Like a Business
The Business of You: 10 Steps To Run Your Career Like a BusinessThe Business of You: 10 Steps To Run Your Career Like a Business
The Business of You: 10 Steps To Run Your Career Like a Business
 
Real World AngularJS recipes: beyond TodoMVC - Carlo Bonamico, Sonia Pini - C...
Real World AngularJS recipes: beyond TodoMVC - Carlo Bonamico, Sonia Pini - C...Real World AngularJS recipes: beyond TodoMVC - Carlo Bonamico, Sonia Pini - C...
Real World AngularJS recipes: beyond TodoMVC - Carlo Bonamico, Sonia Pini - C...
 
Developing an Automated Testing Strategy
Developing an Automated Testing StrategyDeveloping an Automated Testing Strategy
Developing an Automated Testing Strategy
 
Cucumber & gherkin language
Cucumber & gherkin languageCucumber & gherkin language
Cucumber & gherkin language
 
Solid Software Design Principles
Solid Software Design PrinciplesSolid Software Design Principles
Solid Software Design Principles
 
Agile planning & estimating joshua partogi
Agile planning & estimating joshua partogiAgile planning & estimating joshua partogi
Agile planning & estimating joshua partogi
 

Semelhante a An ATDD Case Study

A Whole Team Approach To Testing
A Whole Team Approach To TestingA Whole Team Approach To Testing
A Whole Team Approach To Testing
Jon Kruger
 
Developing an Automated Testing Strategy
Developing an Automated Testing StrategyDeveloping an Automated Testing Strategy
Developing an Automated Testing Strategy
Jon Kruger
 
It’s Good Let’s make it better 972003
It’s Good Let’s make it better 972003It’s Good Let’s make it better 972003
It’s Good Let’s make it better 972003
Robert Bode
 

Semelhante a An ATDD Case Study (20)

A Whole Team Approach To Testing
A Whole Team Approach To TestingA Whole Team Approach To Testing
A Whole Team Approach To Testing
 
Developing an Automated Testing Strategy
Developing an Automated Testing StrategyDeveloping an Automated Testing Strategy
Developing an Automated Testing Strategy
 
Behavior Driven Development
Behavior Driven DevelopmentBehavior Driven Development
Behavior Driven Development
 
Fail and Win: Why a Failed Test Isn’t a Bad Thing
Fail and Win: Why a Failed Test Isn’t a Bad ThingFail and Win: Why a Failed Test Isn’t a Bad Thing
Fail and Win: Why a Failed Test Isn’t a Bad Thing
 
How Truly Effective CRO Requires Great UX
How Truly Effective CRO Requires Great UXHow Truly Effective CRO Requires Great UX
How Truly Effective CRO Requires Great UX
 
Anton Muzhailo - Practical Test Process Improvement using ISTQB
Anton Muzhailo - Practical Test Process Improvement using ISTQBAnton Muzhailo - Practical Test Process Improvement using ISTQB
Anton Muzhailo - Practical Test Process Improvement using ISTQB
 
6 Guidelines for A/B Testing
6 Guidelines for A/B Testing6 Guidelines for A/B Testing
6 Guidelines for A/B Testing
 
What is Kaizen
What is KaizenWhat is Kaizen
What is Kaizen
 
Building a Quality Software Shop
Building a Quality Software ShopBuilding a Quality Software Shop
Building a Quality Software Shop
 
Iakiv Kramarenko: “Quality Driven Development”
Iakiv Kramarenko: “Quality Driven Development” Iakiv Kramarenko: “Quality Driven Development”
Iakiv Kramarenko: “Quality Driven Development”
 
Better Billing for Lawyers
Better Billing for LawyersBetter Billing for Lawyers
Better Billing for Lawyers
 
Agile for Me- CodeStock 2009
Agile for Me- CodeStock 2009Agile for Me- CodeStock 2009
Agile for Me- CodeStock 2009
 
Lean Thinking in Higher Education
Lean Thinking in Higher EducationLean Thinking in Higher Education
Lean Thinking in Higher Education
 
The Truth Behind Detecting Fraud Using Data Analytics
The Truth Behind Detecting Fraud Using Data AnalyticsThe Truth Behind Detecting Fraud Using Data Analytics
The Truth Behind Detecting Fraud Using Data Analytics
 
It’s Good Let’s make it better 972003
It’s Good Let’s make it better 972003It’s Good Let’s make it better 972003
It’s Good Let’s make it better 972003
 
The Only Two Possible Outcomes of Analysis
The Only Two Possible Outcomes of AnalysisThe Only Two Possible Outcomes of Analysis
The Only Two Possible Outcomes of Analysis
 
Informatics of Decision Making by Expedia Group PM
Informatics of Decision Making by Expedia Group PMInformatics of Decision Making by Expedia Group PM
Informatics of Decision Making by Expedia Group PM
 
Continuous Improvement Program Workshop
Continuous Improvement Program WorkshopContinuous Improvement Program Workshop
Continuous Improvement Program Workshop
 
Quality Clinic - Lean Six Sigma Fundamentals Training - Sample
Quality Clinic - Lean Six Sigma Fundamentals Training - SampleQuality Clinic - Lean Six Sigma Fundamentals Training - Sample
Quality Clinic - Lean Six Sigma Fundamentals Training - Sample
 
Delivery industry research
Delivery industry research Delivery industry research
Delivery industry research
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

An ATDD Case Study

  • 1. An ATDD Case Study
  • 2. So what’s the problem?
  • 3. Acceptance Criteria Given I am a logged in user When I go to the final checkout page Then I should see the total cost of the order broken down by product cost, tax, and shipping charges And I should see the total cost of the order
  • 5.
  • 6. The 3 Amigos “…it’s like delivering a baby.”
  • 7. Feature: Process an order Given I am a logged in user When I go to the final checkout page Then I should see the total cost of the order broken down by product cost, tax, and shipping charges And I should see the total cost of the order • Order total = total cost of products on the order + tax + shipping charges • Tax: – Ohio = 7% – Michigan = 6.5% – Other states = 0% • Shipping: – If total cost of products (before tax >= $25), shipping is free, otherwise $5
  • 10. “Before ” What happens when testing isn’t included in your definition of done
  • 11. “After ” What happens when testing IS included in your definition of done
  • 12. Who Writes the Tests
  • 17. Reasonably Thorough Requirements "Walking on water and developing software from a specification are easy if both are frozen." ~ Edward V. Berard
  • 18. Project Management • Self-directed teams • Everyone is responsible • PMs lay out the roadmap • Shared risk with the business • Risk based testing
  • 20. Why work incrementally towards continuous improvement?
  • 21. We’re not there yet… • Continuous improvement across teams • Better involvement with business sponsors • More visibility of continuous integration build • 75% of test cases automated in 2012
  • 22.
  • 23. Thanks! • Paul Bahler – pbahler@igsenergy.com – @PaulBahler • Kevin Chivington – kchivington@igsenergy.com • Jon Kruger – jon@jonkruger.com – @JonKruger

Notas do Editor

  1. Need to break down features enough so that you can discuss them at a granular levelRegardless of estimation method, this is a good time to right-size stories (estimating, re-estimating, or breaking down the story further)
  2. Need to break down features enough so that you can discuss them at a granular levelRegardless of estimation method, this is a good time to right-size stories (estimating, re-estimating, or breaking down the story further)
  3. An “on-going conversation” throughout the life of the user story / card.If BA finds something, developer and tester are informed.If Dev finds something, BA and QA are informed.If QA finds something, BA and Dev are informed.“Close the loop” and keep all domains aware of any changes / gaps / problems / decisions.
  4. “Insanity: doing the same thing over and over again and expecting different results.” ~Albert Einstein