SlideShare una empresa de Scribd logo
1 de 29
Ministry of Testing, Boston
How Specification By Example is Changing
How We Plan and Test Our Solutions
Greg Tutunjian, Enterprise Agile Coach
Optum Technology, Boston
January 25, 2017
Test Automation
In The Hands of “The Business”
Ministry of Testing, Boston
PurposePurpose
Business
Testing
Evolution
Business
Testing
Evolution
Business
Testing
Guidance
Learn
More
Agenda
2
Ministry of Testing, Boston
Purpose
3
Ministry of Testing, Boston
Why QA Professionals
4
1. Outside-in Testing (versus inner-loop testing)
1. Solution-centric (versus development-centric)
1. Incrementing Value (versus incrementing feature count)
1. (More) Multidisciplinary (versus usual disciplines)
1. (Finally) Direction-setting (versus waiting)
Ministry of Testing, Boston
Take Away Potential
5
1. Investigate Further
1. Experiment @ Work
1. Engage Other QA (Like-minded) Professionals
1. Community of Practice (versus center of excellence)
1. Advance Adoption
Ministry of Testing, Boston
Greg T Bio
6
1. Application Developer (short lived)
1. Systems Engineer (longer lived)
1. Team Builder (never happier)
1. Agile Delivery Lead (storm, norm, form, deliver)
• Enterprise Agile Coach (delivery focus)
Ministry of Testing, Boston
Experience Informs
7
1975 1980 1985 1990 1995 2000 2005 2010 2016
Getting
To
Done
Application
Developer
Business-
side
Testing
25%
50%
75%
100%
Innovation
Practices
Form &
Lead
Teams
Ken
Schwaber
On-site
Solution
Architect
Enterprise
Agility
Enterprise
Culture &
Happiness
Agile
Manifesto
Scaling
Ministry of Testing, Boston
Change
(De)Evolution
8
Ministry of Testing, Boston
Satir Change Model
9
Ministry of Testing, Boston
Business Testing Evolution
10
1975 1980 1985 1990 1995 2000 2005 2010 2016
25%
50%
75%
100%
Repeatable
?
Add Value?
Transferable?
Cost Effective?
Spec
BRD
Value
Era
Data
Proto
Kno
w
Agile
BRD Agile
mainframe
minicomputer
client-server
WAN & LAN
small
teams
enterprise agility
Ministry of Testing, Boston
Trust Gap
11
1. Patience
1. Engagement
2. Awareness
3. Feedback
1. Listening
Ministry of Testing, Boston
Business
Testing
Guidance
12
Ministry of Testing, Boston
• Specification By Example (SBE)
A collaboration method for specifying requirements and tests
whose benefits include producing correct and reliable
documentation, setting expectations clearly and concisely, making
validation more efficient and reducing rework.
Definitions
13
Ministry of Testing, Boston
• Acceptance Test Driven Development (ATDD)
A repeatable means of collaboration between the business (or
customers), testers and developers to produce testable
requirements resulting in higher quality software more
frequently.
• Behavior Driven Development (BDD)
A more mature means of collaboration (than ATDD) between
the business (or customers), testers and developers to produce
testable requirements resulting in higher quality software more
frequently.
Definitions
14
Ministry of Testing, Boston
Chart A Course
15
1. Focus on high-risk solution areas
• Versus starting small & low-risk
1. Work in pairs
• Build knowledge & increase confidence
1. Facilitate Workshops
• Plan in advance; Amenable business owner(s)
1. Community of Practice
• Share your successes
Ministry of Testing, Boston
Testing Framework
16
Scaled Agile, Inc. 2016
Ministry of Testing, Boston
1. Business-side Tooling:
• Gherkin (language & rules)
• Cucumber (command-line translator)
2. Feature: A Gherkin-specified set of scenarios
3. Scenario: A list of steps Cucumber will run
4. Steps: Step-wise test instructions
• Step Definitions: Connection to domain-specific
support code
• Support Code: Entry points to automation library
1. Automation Library: System-behavior outcomes
The Business Writes Code
17
Ministry of Testing, Boston
Flow
18
Project
System
Features
Scenarios
Steps
Step Definitions
Support Code
Automation Library
Business
Facing
Technolog
y
Facing
The Cucumber Book
Ministry of Testing, Boston
Simple Example
19
Feature: Refund item
Scenario: Jeff returns a faulty microwave
Given Jeff has bought a microwave for $100
And he has a receipt
When he returns the microwave
Then Jeff should be refunded $100
Gherkin Keywords
Data
© Cucumber Limited. All rights reserved.
Ministry of Testing, Boston
Gherkin Syntax
20
© Cucumber Limited. All rights reserved.
• Feature (Individual solution attribute; adds value)
• Scenario (Example composed of steps; an executable specification)
• Steps: Given, When, Then, And, But
• Background (Step abstraction for repeated steps)
• Scenario Outline (Scenario abstraction for repeated scenarios)
• Examples (Paired with scenario outline: Data Table)
• Doc Strings: """ (Pass text to a step definition)
• Data Tables: | (Pass list of values to step definition)
• Tags: @ (Group scenarios for Cucumber execution)
• Comments: # (In-line comments)
Ministry of Testing, Boston
Functional Example
21
Scenario Outline: feeding a growing cow
Given the cow weighs <weight> kg
When we calculate the feeding requirements
Then the energy should be <energy> MJ
And the protein should be <protein> kg
Examples:
| weight | energy | protein |
| 450 | 26500 | 215 |
| 500 | 29500 | 245 |
| 575 | 31500 | 255 |
| 600 | 37000 | 305 |
© Cucumber Limited. All rights reserved.
Ministry of Testing, Boston
Step Definitions
22
© Cucumber Limited. All rights reserved.
• Translate plain text Gherkin steps into actions
that will interact with the system-under-test
• Each step has a corresponding Step Definition
• Step Definition: Small piece of code with a
pattern attached to it.
• The pattern links the step definition to all the
matching steps, and the code is what
Cucumber will execute when it sees a Gherkin
Step.
Ministry of Testing, Boston
Getting Started
23
1. Identify Business Partner & Project
2. Adopt Basic (Business) Scenario (from strategic backlog)
1. Write Step Definitions
1. Establish Technology-facing Flow
1. Coach, Mentor & Train Business
1. Scale To Maximize ROI
Ministry of Testing, Boston
Make It Happen
24
1. Effective and practical video training
1. Partner with a visible & available advocate
1. Partner-driven workshops
1. Coach, Mentor & Train Business
1. Incorporate into strategic plans
6. Don’t forget about ROI
Ministry of Testing, Boston
Learn More
25
Ministry of Testing, Boston
Learn More
26
• Specification By Example: How successful
teams deliver the right software, Gojko
Adzic
• ATDD by Example: A Practical Guide to
Acceptance Test-Driven Development,
Markus Garner
Ministry of Testing, Boston
Learn More
27
• Cucumber Recipes: Automate Anything
with BDD Tools and Techniques, Ian
Dees, Matt Wynne, Aslak Hellesoy
• The Cucumber Book: Behavior-Driven
Development for Testers and Developers,
Matt Wyne and Aslak Hellesoy
Ministry of Testing, Boston
Learn More
28
• Satir Change Model:
• Virginia Satir Global Network:
https://satirglobal.org
• Steven Smith Adaptation:
http://stevenmsmith.com/ar-satir-change-
model
• Cucumber Community: https://
cucumber.io
Ministry of Testing, Boston
The End
29
Thank You

Más contenido relacionado

La actualidad más candente

BizDevOps – Delivering Business Value Quickly at Scale
BizDevOps – Delivering Business Value Quickly at ScaleBizDevOps – Delivering Business Value Quickly at Scale
BizDevOps – Delivering Business Value Quickly at Scale
QASymphony
 
Continuous Quality: What DevOps Means for QA
Continuous Quality: What DevOps Means for QAContinuous Quality: What DevOps Means for QA
Continuous Quality: What DevOps Means for QA
Jeff Sussna
 

La actualidad más candente (20)

Saying Goodbye to Quality Center
Saying Goodbye to Quality CenterSaying Goodbye to Quality Center
Saying Goodbye to Quality Center
 
BizDevOps – Delivering Business Value Quickly at Scale
BizDevOps – Delivering Business Value Quickly at ScaleBizDevOps – Delivering Business Value Quickly at Scale
BizDevOps – Delivering Business Value Quickly at Scale
 
Software Testing Metrics with qTest Insights - QASymphony Webinar
Software Testing Metrics with qTest Insights  - QASymphony WebinarSoftware Testing Metrics with qTest Insights  - QASymphony Webinar
Software Testing Metrics with qTest Insights - QASymphony Webinar
 
Quality Assurance to Test Engineering – Insights From our Journey by Oksana S...
Quality Assurance to Test Engineering – Insights From our Journey by Oksana S...Quality Assurance to Test Engineering – Insights From our Journey by Oksana S...
Quality Assurance to Test Engineering – Insights From our Journey by Oksana S...
 
Where Testers & QA Fit in the Story of DevOps
Where Testers & QA Fit in the Story of DevOpsWhere Testers & QA Fit in the Story of DevOps
Where Testers & QA Fit in the Story of DevOps
 
Drive Continuous Delivery With Continuous Testing
Drive Continuous Delivery With Continuous TestingDrive Continuous Delivery With Continuous Testing
Drive Continuous Delivery With Continuous Testing
 
Continuous testing webinar 041017 slideshare
Continuous testing webinar 041017 slideshareContinuous testing webinar 041017 slideshare
Continuous testing webinar 041017 slideshare
 
Continuous Quality: What DevOps Means for QA
Continuous Quality: What DevOps Means for QAContinuous Quality: What DevOps Means for QA
Continuous Quality: What DevOps Means for QA
 
The Evolution of Test Automation for DevOps
The Evolution of Test Automation for DevOpsThe Evolution of Test Automation for DevOps
The Evolution of Test Automation for DevOps
 
Quality Jam 2016 Product Roadmap
Quality Jam 2016 Product RoadmapQuality Jam 2016 Product Roadmap
Quality Jam 2016 Product Roadmap
 
DevOps the Big Picture for Testers by Joseph Ours
DevOps the Big Picture for Testers by Joseph OursDevOps the Big Picture for Testers by Joseph Ours
DevOps the Big Picture for Testers by Joseph Ours
 
The New Gives and Takes in a testers role
The New Gives and Takes in a testers role The New Gives and Takes in a testers role
The New Gives and Takes in a testers role
 
Demystifying Devops - Uday kumar
Demystifying Devops - Uday kumarDemystifying Devops - Uday kumar
Demystifying Devops - Uday kumar
 
The digital shakeout in quality assurance and testing by Shiva Agolla and Sat...
The digital shakeout in quality assurance and testing by Shiva Agolla and Sat...The digital shakeout in quality assurance and testing by Shiva Agolla and Sat...
The digital shakeout in quality assurance and testing by Shiva Agolla and Sat...
 
DevOps: Using Metrics and QA Practices That Matters
DevOps: Using Metrics and QA Practices That MattersDevOps: Using Metrics and QA Practices That Matters
DevOps: Using Metrics and QA Practices That Matters
 
Agile ncr2016 ppt
Agile ncr2016 pptAgile ncr2016 ppt
Agile ncr2016 ppt
 
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
 
Rapid Strategic SRE Assessments
Rapid Strategic SRE AssessmentsRapid Strategic SRE Assessments
Rapid Strategic SRE Assessments
 
DevOps 2017 Conf: evolving from automated to continuous
DevOps 2017 Conf: evolving from automated to continuousDevOps 2017 Conf: evolving from automated to continuous
DevOps 2017 Conf: evolving from automated to continuous
 
Shift Left Quality Assurance: How to do it. Why it matters.
Shift Left Quality Assurance: How to do it. Why it matters.Shift Left Quality Assurance: How to do it. Why it matters.
Shift Left Quality Assurance: How to do it. Why it matters.
 

Destacado

5 Misperceptions in Software Testing
5 Misperceptions in Software Testing5 Misperceptions in Software Testing
5 Misperceptions in Software Testing
AskTester
 
Lock? We don't need no stinkin' locks!
Lock? We don't need no stinkin' locks!Lock? We don't need no stinkin' locks!
Lock? We don't need no stinkin' locks!
Michael Barker
 
Five steps to Continuous Delivery
Five steps to Continuous DeliveryFive steps to Continuous Delivery
Five steps to Continuous Delivery
Marko Klemetti
 

Destacado (20)

DevOps Pipelines and Metrics Driven Feedback Loops
DevOps Pipelines and Metrics Driven Feedback LoopsDevOps Pipelines and Metrics Driven Feedback Loops
DevOps Pipelines and Metrics Driven Feedback Loops
 
Managers, Future Proof Your Automation
Managers, Future Proof Your AutomationManagers, Future Proof Your Automation
Managers, Future Proof Your Automation
 
Appium: Prime Cuts
Appium: Prime CutsAppium: Prime Cuts
Appium: Prime Cuts
 
Practical Tips & Tricks for Selenium Test Automation
Practical Tips & Tricks for Selenium Test AutomationPractical Tips & Tricks for Selenium Test Automation
Practical Tips & Tricks for Selenium Test Automation
 
Patterns of a “good” test automation framework
Patterns of a “good” test automation frameworkPatterns of a “good” test automation framework
Patterns of a “good” test automation framework
 
Startupinformatik
StartupinformatikStartupinformatik
Startupinformatik
 
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs WebinarHow To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
 
Client-Side Performance Testing
Client-Side Performance TestingClient-Side Performance Testing
Client-Side Performance Testing
 
The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
 
Использование Fiddler для эмуляции различных сетевых условий в автотестах
Использование Fiddler для эмуляции различных сетевых условий в автотестахИспользование Fiddler для эмуляции различных сетевых условий в автотестах
Использование Fiddler для эмуляции различных сетевых условий в автотестах
 
How to pass a coding interview as an automation developer talk - Oct 17 2016
How to pass a coding interview as an automation developer talk - Oct 17 2016How to pass a coding interview as an automation developer talk - Oct 17 2016
How to pass a coding interview as an automation developer talk - Oct 17 2016
 
Agile scrum roles
Agile scrum rolesAgile scrum roles
Agile scrum roles
 
Автоматизация нагрузочного тестирования в связке JMeter + TeamСity + Grafana ...
Автоматизация нагрузочного тестирования в связке JMeter + TeamСity + Grafana ...Автоматизация нагрузочного тестирования в связке JMeter + TeamСity + Grafana ...
Автоматизация нагрузочного тестирования в связке JMeter + TeamСity + Grafana ...
 
Selenium Tips & Tricks
Selenium Tips & TricksSelenium Tips & Tricks
Selenium Tips & Tricks
 
5 Misperceptions in Software Testing
5 Misperceptions in Software Testing5 Misperceptions in Software Testing
5 Misperceptions in Software Testing
 
Lean DevOps Metrics
Lean DevOps MetricsLean DevOps Metrics
Lean DevOps Metrics
 
Introduction to OWASP
Introduction to OWASPIntroduction to OWASP
Introduction to OWASP
 
Lock? We don't need no stinkin' locks!
Lock? We don't need no stinkin' locks!Lock? We don't need no stinkin' locks!
Lock? We don't need no stinkin' locks!
 
Five steps to Continuous Delivery
Five steps to Continuous DeliveryFive steps to Continuous Delivery
Five steps to Continuous Delivery
 
DevOps by examples - DevOps@Work 2017
DevOps by examples - DevOps@Work 2017DevOps by examples - DevOps@Work 2017
DevOps by examples - DevOps@Work 2017
 

Similar a Test Automation In The Hands of "The Business"

Introduction to Puppet Enterprise 03-31-2016
Introduction to Puppet Enterprise 03-31-2016Introduction to Puppet Enterprise 03-31-2016
Introduction to Puppet Enterprise 03-31-2016
Puppet
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
Yogindernath Gupta
 
90 days to make a difference - approach
90 days to make a difference - approach90 days to make a difference - approach
90 days to make a difference - approach
Stuart Creasey
 
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
Aberla
 

Similar a Test Automation In The Hands of "The Business" (20)

A New Model for Building Business Process Quality
A New Model for Building Business Process QualityA New Model for Building Business Process Quality
A New Model for Building Business Process Quality
 
Introduction to Puppet Enterprise 03-31-2016
Introduction to Puppet Enterprise 03-31-2016Introduction to Puppet Enterprise 03-31-2016
Introduction to Puppet Enterprise 03-31-2016
 
Agile testing
Agile testingAgile testing
Agile testing
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
 
Implementing a Test Dashboard to Boost Quality
Implementing a Test Dashboard to Boost QualityImplementing a Test Dashboard to Boost Quality
Implementing a Test Dashboard to Boost Quality
 
Agile metrics at-pmi bangalore
Agile metrics at-pmi bangaloreAgile metrics at-pmi bangalore
Agile metrics at-pmi bangalore
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2
 
Transforming Your QA and Test Team
Transforming Your QA and Test TeamTransforming Your QA and Test Team
Transforming Your QA and Test Team
 
90 days to make a difference - approach
90 days to make a difference - approach90 days to make a difference - approach
90 days to make a difference - approach
 
A True Story of Why QA Loves DevOps
A True Story of Why QA Loves DevOpsA True Story of Why QA Loves DevOps
A True Story of Why QA Loves DevOps
 
2 anton muzhailo - formal test process improvement. how to invest to the te...
2   anton muzhailo - formal test process improvement. how to invest to the te...2   anton muzhailo - formal test process improvement. how to invest to the te...
2 anton muzhailo - formal test process improvement. how to invest to the te...
 
Introduction to Agile Testing
Introduction to Agile TestingIntroduction to Agile Testing
Introduction to Agile Testing
 
build-for-speed-brochure
build-for-speed-brochurebuild-for-speed-brochure
build-for-speed-brochure
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
 
An Agile Way As an SET at LINE -Product Ownership Edition-
An Agile Way As an SET at LINE -Product Ownership Edition-An Agile Way As an SET at LINE -Product Ownership Edition-
An Agile Way As an SET at LINE -Product Ownership Edition-
 
Are bugs eating your software budget?
Are bugs eating your software budget? Are bugs eating your software budget?
Are bugs eating your software budget?
 
Methodology: IT test
Methodology: IT testMethodology: IT test
Methodology: IT test
 
Effective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile EnvironmentEffective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile Environment
 

Último

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
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
VictorSzoltysek
 
+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
 

Último (20)

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...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
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 🔝✔️✔️
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
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
 
+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...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 

Test Automation In The Hands of "The Business"

  • 1. Ministry of Testing, Boston How Specification By Example is Changing How We Plan and Test Our Solutions Greg Tutunjian, Enterprise Agile Coach Optum Technology, Boston January 25, 2017 Test Automation In The Hands of “The Business”
  • 2. Ministry of Testing, Boston PurposePurpose Business Testing Evolution Business Testing Evolution Business Testing Guidance Learn More Agenda 2
  • 3. Ministry of Testing, Boston Purpose 3
  • 4. Ministry of Testing, Boston Why QA Professionals 4 1. Outside-in Testing (versus inner-loop testing) 1. Solution-centric (versus development-centric) 1. Incrementing Value (versus incrementing feature count) 1. (More) Multidisciplinary (versus usual disciplines) 1. (Finally) Direction-setting (versus waiting)
  • 5. Ministry of Testing, Boston Take Away Potential 5 1. Investigate Further 1. Experiment @ Work 1. Engage Other QA (Like-minded) Professionals 1. Community of Practice (versus center of excellence) 1. Advance Adoption
  • 6. Ministry of Testing, Boston Greg T Bio 6 1. Application Developer (short lived) 1. Systems Engineer (longer lived) 1. Team Builder (never happier) 1. Agile Delivery Lead (storm, norm, form, deliver) • Enterprise Agile Coach (delivery focus)
  • 7. Ministry of Testing, Boston Experience Informs 7 1975 1980 1985 1990 1995 2000 2005 2010 2016 Getting To Done Application Developer Business- side Testing 25% 50% 75% 100% Innovation Practices Form & Lead Teams Ken Schwaber On-site Solution Architect Enterprise Agility Enterprise Culture & Happiness Agile Manifesto Scaling
  • 8. Ministry of Testing, Boston Change (De)Evolution 8
  • 9. Ministry of Testing, Boston Satir Change Model 9
  • 10. Ministry of Testing, Boston Business Testing Evolution 10 1975 1980 1985 1990 1995 2000 2005 2010 2016 25% 50% 75% 100% Repeatable ? Add Value? Transferable? Cost Effective? Spec BRD Value Era Data Proto Kno w Agile BRD Agile mainframe minicomputer client-server WAN & LAN small teams enterprise agility
  • 11. Ministry of Testing, Boston Trust Gap 11 1. Patience 1. Engagement 2. Awareness 3. Feedback 1. Listening
  • 12. Ministry of Testing, Boston Business Testing Guidance 12
  • 13. Ministry of Testing, Boston • Specification By Example (SBE) A collaboration method for specifying requirements and tests whose benefits include producing correct and reliable documentation, setting expectations clearly and concisely, making validation more efficient and reducing rework. Definitions 13
  • 14. Ministry of Testing, Boston • Acceptance Test Driven Development (ATDD) A repeatable means of collaboration between the business (or customers), testers and developers to produce testable requirements resulting in higher quality software more frequently. • Behavior Driven Development (BDD) A more mature means of collaboration (than ATDD) between the business (or customers), testers and developers to produce testable requirements resulting in higher quality software more frequently. Definitions 14
  • 15. Ministry of Testing, Boston Chart A Course 15 1. Focus on high-risk solution areas • Versus starting small & low-risk 1. Work in pairs • Build knowledge & increase confidence 1. Facilitate Workshops • Plan in advance; Amenable business owner(s) 1. Community of Practice • Share your successes
  • 16. Ministry of Testing, Boston Testing Framework 16 Scaled Agile, Inc. 2016
  • 17. Ministry of Testing, Boston 1. Business-side Tooling: • Gherkin (language & rules) • Cucumber (command-line translator) 2. Feature: A Gherkin-specified set of scenarios 3. Scenario: A list of steps Cucumber will run 4. Steps: Step-wise test instructions • Step Definitions: Connection to domain-specific support code • Support Code: Entry points to automation library 1. Automation Library: System-behavior outcomes The Business Writes Code 17
  • 18. Ministry of Testing, Boston Flow 18 Project System Features Scenarios Steps Step Definitions Support Code Automation Library Business Facing Technolog y Facing The Cucumber Book
  • 19. Ministry of Testing, Boston Simple Example 19 Feature: Refund item Scenario: Jeff returns a faulty microwave Given Jeff has bought a microwave for $100 And he has a receipt When he returns the microwave Then Jeff should be refunded $100 Gherkin Keywords Data © Cucumber Limited. All rights reserved.
  • 20. Ministry of Testing, Boston Gherkin Syntax 20 © Cucumber Limited. All rights reserved. • Feature (Individual solution attribute; adds value) • Scenario (Example composed of steps; an executable specification) • Steps: Given, When, Then, And, But • Background (Step abstraction for repeated steps) • Scenario Outline (Scenario abstraction for repeated scenarios) • Examples (Paired with scenario outline: Data Table) • Doc Strings: """ (Pass text to a step definition) • Data Tables: | (Pass list of values to step definition) • Tags: @ (Group scenarios for Cucumber execution) • Comments: # (In-line comments)
  • 21. Ministry of Testing, Boston Functional Example 21 Scenario Outline: feeding a growing cow Given the cow weighs <weight> kg When we calculate the feeding requirements Then the energy should be <energy> MJ And the protein should be <protein> kg Examples: | weight | energy | protein | | 450 | 26500 | 215 | | 500 | 29500 | 245 | | 575 | 31500 | 255 | | 600 | 37000 | 305 | © Cucumber Limited. All rights reserved.
  • 22. Ministry of Testing, Boston Step Definitions 22 © Cucumber Limited. All rights reserved. • Translate plain text Gherkin steps into actions that will interact with the system-under-test • Each step has a corresponding Step Definition • Step Definition: Small piece of code with a pattern attached to it. • The pattern links the step definition to all the matching steps, and the code is what Cucumber will execute when it sees a Gherkin Step.
  • 23. Ministry of Testing, Boston Getting Started 23 1. Identify Business Partner & Project 2. Adopt Basic (Business) Scenario (from strategic backlog) 1. Write Step Definitions 1. Establish Technology-facing Flow 1. Coach, Mentor & Train Business 1. Scale To Maximize ROI
  • 24. Ministry of Testing, Boston Make It Happen 24 1. Effective and practical video training 1. Partner with a visible & available advocate 1. Partner-driven workshops 1. Coach, Mentor & Train Business 1. Incorporate into strategic plans 6. Don’t forget about ROI
  • 25. Ministry of Testing, Boston Learn More 25
  • 26. Ministry of Testing, Boston Learn More 26 • Specification By Example: How successful teams deliver the right software, Gojko Adzic • ATDD by Example: A Practical Guide to Acceptance Test-Driven Development, Markus Garner
  • 27. Ministry of Testing, Boston Learn More 27 • Cucumber Recipes: Automate Anything with BDD Tools and Techniques, Ian Dees, Matt Wynne, Aslak Hellesoy • The Cucumber Book: Behavior-Driven Development for Testers and Developers, Matt Wyne and Aslak Hellesoy
  • 28. Ministry of Testing, Boston Learn More 28 • Satir Change Model: • Virginia Satir Global Network: https://satirglobal.org • Steven Smith Adaptation: http://stevenmsmith.com/ar-satir-change- model • Cucumber Community: https:// cucumber.io
  • 29. Ministry of Testing, Boston The End 29 Thank You