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
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
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
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
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
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
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