SlideShare a Scribd company logo
I
ARCHITECTING
A TEST
STRATEGY
Brendan Connolly
@theBConnolly
http://brendanconnolly.net
TEST STRATEGY
Guiding principles that
provide focus, context,
and drive actions
of the team to manage risk
@theBConnolly
Testing isn’t always well
understood
That leads to feelings of fear
When things go wrong scared
people often look to blame.
AM
BIGUITY
UN
CERTAIN
TY
BLAME
WHY STRATEGY
MATTERS
@theBConnolly
People love knowing there
is a plan
Testing means different
things to different people
Move together towards
quality
CLARITY
ALIGN
M
EN
T
QUALITY
WHY STRATEGY
MATTERS
@theBConnolly
ROLE
OF
AUTOMATION
I
@theBConnolly
How much time should
we spend writing,
maintaining, debugging
automation?
How many tests should
we automate?
How long should it take
to run?
What tests should we
automate?
What isn’t a good fit for
automation?
LOOKING FOR ANSWERS
TIME QUANTITY CHOICE
@theBConnolly
TEST
MONUMENTS
What can all these
Test Automation Pyramids tell us?
@theBConnolly
TEST PYRAMID
MATHEMATICS
Treating the Test Pyramid as a
triangle
Use geometry & trigonometry to
find the total area of each level
@theBConnolly
For the Original 3 Layer Test Pyramid
Assuming Each Layer Is Equally Tall
Using Different Dimensions the
Results Are Uniform
@theBConnolly
TEST PYRAMID MATHEMATICS
RESULTS
3 levels UI Service Unit
Great Pyramid 11.1% 33.3% 55.6%
Equilateral 11.1% 33.4% 55.5%
45-45-90 11.17% 33.21% 55.62%
Same Assumptions...
More Levels
@theBConnolly
TEST PYRAMID MATHEMATICS
RESULTS
4 levels UI Component Integration Unit
Great Pyramid 6.3% 18.7% 31.3% 43.7%
Equilateral 6.3% 18.8% 31.3% 43.7%
45-45-90 6.18% 18.79% 31.15% 43.88%
5 levels UI API Component Integration Unit
Great
Pyramid
4% 12% 19.8% 28.2% 36%
We can agree about the Top
We can agree about the Bottom
We undervalue the Delicious
Goodness in the Middle
@theBConnolly
THE GOOEY
CENTER Unit Gooey Center UI
36-55% 33-60% 4-11%
A QUESTION OF
QUANTITY
Per the Test Pyramid for every
100 tests added you would
have:
- 35-55 unit tests,
- 33-60 service tests
- 4-11 UI / E2E tests.
Does that fit with the practices
on your team?
@theBConnolly
@theBConnolly
A QUESTION OF
TIME
Per the Test Pyramid for a 40 hour
work week:
- 18 hours writing & maintaining
unit level tests
- 18 hours writing & maintaining
service level tests
- 4 hours writing & maintaining
UI level tests.
A QUESTION OF
EFFORT
Using Effort for estimation brings
automation in line with the feature
development.
Point Stories Inclusively but use
automation effort a metric for
comparison.
@theBConnolly
THE HANDFUL
HEURISTIC
For a given area of your
product you only need a
handful of end to end tests
There is great power in a
handful of meaningful &
reliable tests
@theBConnolly
CONFIRM &
CHARACTERIZE
Write the Tests that:
- Confirm that the Application is
Releasable
- Characterize Key Behaviors
@theBConnolly
ROLE
OF
THE TEAM
@theBConnolly
ROLE OF THE TEAM
PERSONAS
Your Team is Unique
To uncover the best
automation strategy
Understand your team first
@theBConnolly
The person or group
responsible for writing
test automation
The person or system
responsible for running
the automated test suite
The person or system
that derives value from
the results of test
execution
AUTOMATION
PERSONAS
CREATOR EXECUTOR CONSUMER
@theBConnolly
Writes tests while
developing new
functionality
Runs tests as changes
are made
Test results inform and
guide decisions through
development process
Developer Developer Developer
AUTOMATION PERSONAS
UNIT TESTS CASE #1
EXECUTOR CONSUMERCREATOR
@theBConnolly
Writes tests while
developing new
functionality
When code is checked in
tests are run and results
collected
Team knows their
individual changes are
not unintentionally
affecting others
Developer CI/CD Pipeline Dev Team
AUTOMATION PERSONAS
UNIT TESTS CASE #2
EXECUTORCREATOR CONSUMER
@theBConnolly
Writes tests while
developing new
functionality
When code is checked in
tests are run and results
collected
Tooling consumes or
analyzes to derive
actionable information
Developer CI/CD Pipeline Metrics
AUTOMATION PERSONAS
UNIT TESTS CASE #3
EXECUTORCREATOR CONSUMER
@theBConnolly
Contextual Benefit - Direct & Meaningful Impact
on Day to Day Work
Collective Ownership - Team comes together to support
quality outcomes
Multiple Consumers - Value increased and costs reduced as
tests provide multiple streams of value.
@theBConnolly
UNIT TEST
VALUE CHARACTERISTICS
QA / Tester writes
automated tests
Tests are run on some
cadence. Before release,
nightly build etc.
Who is this for? How Do
they benefit?
QA Schedule ???
AUTOMATION PERSONAS
UI / E2E TESTS
EXECUTORCREATOR CONSUMER
@theBConnolly
QA / Tester writes
automated tests
Tests are run on some
cadence. Before release,
nightly build etc.
QA / Tester reviews the
test results focusing on
tests they own
QA Schedule QA
AUTOMATION PERSONAS
UI / E2E TESTS CASE #1
EXECUTORCREATOR CONSUMER
@theBConnolly
A dedicated team of
automators writes tests
QA / Tester runs the
tests as needed based
on release schedule
Managers look at test
result reports tracking
trends and metrics.
Automation
Team
QA Management
AUTOMATION PERSONAS
UI / E2E TESTS CASE #2
EXECUTORCREATOR CONSUMER
@theBConnolly
Contextual Benefit - Ensure Tests Provide Direct & Meaningful
Value
Collective Ownership - It Takes a Village to Support
Automation
Multiple Consumers - Identify Questions That Automation Can
Answer for Consumers
@theBConnolly
UI / E2E TEST
SUCCESS CRITERIA
RE-MODELING
I
@theBConnolly
A MODEL OF
ISOLATION
THERE IS ALWAYS A BROADER
CONTEXT
WE TEST TO UNDERSTAND
THE REALITY OF THAT
CONTEXT
@theBConnolly
QUALITY
CATHEDRALI
@theBConnolly
Just like the Test Pyramid a
Quality Cathedral is built
upon a solid foundation of
unit tests
QUALITY CATHEDRAL
FOUNDATION
@theBConnolly
Focused On Building A
Quality Application that
Inspires & Engages Our
Users
QUALITY CATHEDRAL
APPLICATION
CENTRIC
@theBConnolly
Higher Level Tests Stand
Alongside the Application
Supporting the It Exactly
Where It Needs it
QUALITY CATHEDRAL
TARGETED
SUPPORTS
@theBConnolly
Free Standing Supports
that reinforce lower
level tests
QUALITY CATHEDRAL
BUTTRESSING
QUALITY
@theBConnolly
I
STRUCTURED
TO SUPPORT
THE WHOLE
@theBConnolly
A Network of Tests that
work together to withstand
the demand & stress your
product faces
QUALITY CATHEDRAL
SCALE &
WITHSTAND
@theBConnolly
You know your product
You know your team
Target where your application
needs support with your
resources to efficiently
manage risk
QUALITY CATHEDRAL
YOUR TEAM
YOUR SUPPORTS
@theBConnolly
CHARTERING
A
STRATEGY
I
@theBConnolly
WATCHING OUT
FOR WATERFALLS
Heavy Documentation
Explicit Processes
Bureaucracy
These do not guarantee better
outcomes
Strategy needs to be Agile too
@theBConnolly
EXPLORATORY TEST
CHARTERS
@theBConnolly
TEST STRATEGY
CHARTERS
Use (Testing / Automation Technique)
Led By (Owner / Creator)
To Support (Desired Outcomes)
@theBConnolly
TEST STRATEGY
CHARTER EXAMPLES
Use Unit Testing
Led By Developers
To Support a healthy codebase and easier
refactoring
Use End 2 End UI Tests
Led By QA with Dev support
To Support Exploratory testing on stable
builds
@theBConnolly
STRATEGY EVALUATION
EVENTS
When:
- Projects Kickoff / End
- Team Members
Change
- Incidents / Outages
- Team Retro’s
Discuss, Evolve, Reflect
@theBConnolly
TEST STRATEGY
RETROSPECTIVE
Even without a documented
test strategy, people will have their
own ideas about what types of
testing activities should or should
not be occurring.
It is worth periodically checking that
everyone is on the same page.
- Katrina Clokie
https://leanpub.com/testingindevops
@theBConnolly
BUILDING YOUR
STRATEGY
Your App, Your Team, Your Needs
Empower Quality
@theBConnolly
BE WELL,
CREATE,
SHARE
Connect With Me
@theBConnolly
http://brendanconnolly.net

More Related Content

What's hot (20)

PPTX
Quality Assurance: What is it and what are the Business Benefits?
Sparkhound Inc.
 
PDF
Certified Professional Master Agile Testing information and highlights
Agile Testing Alliance
 
PDF
CP-SAT - Certified Professional Selenium Automation Testing
Agile Testing Alliance
 
PPTX
Ian Cooper webinar for DDD Iran: Kent beck style tdd seven years after
Iranian Domain-Driven Design Community
 
PPTX
How to Clean Up Your Continuous Testing Suites for Web & Mobile
Perfecto by Perforce
 
PPTX
Ooad presentation
Joel Corrêa
 
PPTX
A Test Manifesto 2014.03.26
Julio Ramirez
 
PDF
Software Development Craftsmanship
mike dunn
 
PPTX
How to Go Codeless for Automated Mobile App Testing
Applause
 
PPTX
Tdd01 a simple intro to tdd
Miguel Alho
 
PPTX
Helping Programmers Write Better Tests
Geoffrey Dunn
 
PDF
Inrotduction of Testing
Palash Ghosh
 
PPTX
Treinamento TDD
Diego Caxito
 
PDF
Unwritten Manual for Pair Programming
Lemi Orhan Ergin
 
PPT
Software Development Life Cycle
primeteacher32
 
PDF
Testing practicies not only in scala
Paweł Panasewicz
 
PDF
Continuous, continuous, continuous
Michele Orselli
 
PPTX
Testplant: 10 Steps to State of the Art Software Testing
Testplant
 
PPTX
Let's focus more on Quality and less on Testing by Joel Montvelisky
QA or the Highway
 
PPTX
Bloor: Test Design Automation
Testplant
 
Quality Assurance: What is it and what are the Business Benefits?
Sparkhound Inc.
 
Certified Professional Master Agile Testing information and highlights
Agile Testing Alliance
 
CP-SAT - Certified Professional Selenium Automation Testing
Agile Testing Alliance
 
Ian Cooper webinar for DDD Iran: Kent beck style tdd seven years after
Iranian Domain-Driven Design Community
 
How to Clean Up Your Continuous Testing Suites for Web & Mobile
Perfecto by Perforce
 
Ooad presentation
Joel Corrêa
 
A Test Manifesto 2014.03.26
Julio Ramirez
 
Software Development Craftsmanship
mike dunn
 
How to Go Codeless for Automated Mobile App Testing
Applause
 
Tdd01 a simple intro to tdd
Miguel Alho
 
Helping Programmers Write Better Tests
Geoffrey Dunn
 
Inrotduction of Testing
Palash Ghosh
 
Treinamento TDD
Diego Caxito
 
Unwritten Manual for Pair Programming
Lemi Orhan Ergin
 
Software Development Life Cycle
primeteacher32
 
Testing practicies not only in scala
Paweł Panasewicz
 
Continuous, continuous, continuous
Michele Orselli
 
Testplant: 10 Steps to State of the Art Software Testing
Testplant
 
Let's focus more on Quality and less on Testing by Joel Montvelisky
QA or the Highway
 
Bloor: Test Design Automation
Testplant
 

Similar to Architecting A Testing Strategy (20)

PDF
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
TEST Huddle
 
PDF
Best Practises In Test Automation
99tests
 
PDF
End-to-End Test Automation for Both Horizontal and Vertical Scale
Erdem YILDIRIM
 
PDF
The Leaders Guide to Getting Started with Automated Testing
James Briers
 
PPTX
C:\documents and settings\selvam.mc\my documents\automation testing process
selvam mc
 
PDF
InnovateQA Seattle2024_Lee Barnes_What Effective Test Automation is.pdf
anna360704
 
PPTX
Test automation engineer
Sadaaki Emura
 
PPT
Automation Concepts
Nishant Worah
 
PPTX
Guidelines to Measuring Test Automation ROI
Perfecto by Perforce
 
PPTX
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity Software Ireland
 
PDF
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
QA or the Highway
 
PDF
Test Automation: Investment Today Pays Back Tomorrow
TechWell
 
PPTX
How to make Automation an asset for Organization
anuvip
 
PDF
Need for automation testing
99tests
 
PPTX
Relieveing the Testing Bottle Neck - Webinar
Cprime
 
PPTX
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
QASymphony
 
PDF
Reducing the complexity of your Enterprise Packaged Application Automation Te...
YASH Technologies
 
PDF
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
PDF
Functional and Non-functional Test automation
Dr Ganesh Iyer
 
PPTX
How to Optimise Continuous Testing
Sauce Labs
 
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
TEST Huddle
 
Best Practises In Test Automation
99tests
 
End-to-End Test Automation for Both Horizontal and Vertical Scale
Erdem YILDIRIM
 
The Leaders Guide to Getting Started with Automated Testing
James Briers
 
C:\documents and settings\selvam.mc\my documents\automation testing process
selvam mc
 
InnovateQA Seattle2024_Lee Barnes_What Effective Test Automation is.pdf
anna360704
 
Test automation engineer
Sadaaki Emura
 
Automation Concepts
Nishant Worah
 
Guidelines to Measuring Test Automation ROI
Perfecto by Perforce
 
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity Software Ireland
 
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
QA or the Highway
 
Test Automation: Investment Today Pays Back Tomorrow
TechWell
 
How to make Automation an asset for Organization
anuvip
 
Need for automation testing
99tests
 
Relieveing the Testing Bottle Neck - Webinar
Cprime
 
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
QASymphony
 
Reducing the complexity of your Enterprise Packaged Application Automation Te...
YASH Technologies
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
Functional and Non-functional Test automation
Dr Ganesh Iyer
 
How to Optimise Continuous Testing
Sauce Labs
 
Ad

More from Brendan Connolly (11)

PDF
Exploratory Testing As Code
Brendan Connolly
 
PDF
Exploratory Testing As Code Eurostar23
Brendan Connolly
 
PDF
Test Driven Testing
Brendan Connolly
 
PDF
Manual Regression Testing Manifesto
Brendan Connolly
 
PDF
Panoramic Quality: Fellowship of Testing in DevOps AgileTDUSA2019
Brendan Connolly
 
PDF
Panoramic Quality: The Fellowship of Testing in DevOps
Brendan Connolly
 
PPTX
Test Driven Testing
Brendan Connolly
 
PPTX
Building a Crypto Bot with Node.js
Brendan Connolly
 
PPTX
Regress to Impress
Brendan Connolly
 
PDF
Leading by Example
Brendan Connolly
 
PPTX
Frisby.js - Give it a Toss
Brendan Connolly
 
Exploratory Testing As Code
Brendan Connolly
 
Exploratory Testing As Code Eurostar23
Brendan Connolly
 
Test Driven Testing
Brendan Connolly
 
Manual Regression Testing Manifesto
Brendan Connolly
 
Panoramic Quality: Fellowship of Testing in DevOps AgileTDUSA2019
Brendan Connolly
 
Panoramic Quality: The Fellowship of Testing in DevOps
Brendan Connolly
 
Test Driven Testing
Brendan Connolly
 
Building a Crypto Bot with Node.js
Brendan Connolly
 
Regress to Impress
Brendan Connolly
 
Leading by Example
Brendan Connolly
 
Frisby.js - Give it a Toss
Brendan Connolly
 
Ad

Recently uploaded (20)

PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 

Architecting A Testing Strategy

  • 2. TEST STRATEGY Guiding principles that provide focus, context, and drive actions of the team to manage risk @theBConnolly
  • 3. Testing isn’t always well understood That leads to feelings of fear When things go wrong scared people often look to blame. AM BIGUITY UN CERTAIN TY BLAME WHY STRATEGY MATTERS @theBConnolly
  • 4. People love knowing there is a plan Testing means different things to different people Move together towards quality CLARITY ALIGN M EN T QUALITY WHY STRATEGY MATTERS @theBConnolly
  • 6. How much time should we spend writing, maintaining, debugging automation? How many tests should we automate? How long should it take to run? What tests should we automate? What isn’t a good fit for automation? LOOKING FOR ANSWERS TIME QUANTITY CHOICE @theBConnolly
  • 7. TEST MONUMENTS What can all these Test Automation Pyramids tell us? @theBConnolly
  • 8. TEST PYRAMID MATHEMATICS Treating the Test Pyramid as a triangle Use geometry & trigonometry to find the total area of each level @theBConnolly
  • 9. For the Original 3 Layer Test Pyramid Assuming Each Layer Is Equally Tall Using Different Dimensions the Results Are Uniform @theBConnolly TEST PYRAMID MATHEMATICS RESULTS 3 levels UI Service Unit Great Pyramid 11.1% 33.3% 55.6% Equilateral 11.1% 33.4% 55.5% 45-45-90 11.17% 33.21% 55.62%
  • 10. Same Assumptions... More Levels @theBConnolly TEST PYRAMID MATHEMATICS RESULTS 4 levels UI Component Integration Unit Great Pyramid 6.3% 18.7% 31.3% 43.7% Equilateral 6.3% 18.8% 31.3% 43.7% 45-45-90 6.18% 18.79% 31.15% 43.88% 5 levels UI API Component Integration Unit Great Pyramid 4% 12% 19.8% 28.2% 36%
  • 11. We can agree about the Top We can agree about the Bottom We undervalue the Delicious Goodness in the Middle @theBConnolly THE GOOEY CENTER Unit Gooey Center UI 36-55% 33-60% 4-11%
  • 12. A QUESTION OF QUANTITY Per the Test Pyramid for every 100 tests added you would have: - 35-55 unit tests, - 33-60 service tests - 4-11 UI / E2E tests. Does that fit with the practices on your team? @theBConnolly
  • 13. @theBConnolly A QUESTION OF TIME Per the Test Pyramid for a 40 hour work week: - 18 hours writing & maintaining unit level tests - 18 hours writing & maintaining service level tests - 4 hours writing & maintaining UI level tests.
  • 14. A QUESTION OF EFFORT Using Effort for estimation brings automation in line with the feature development. Point Stories Inclusively but use automation effort a metric for comparison. @theBConnolly
  • 15. THE HANDFUL HEURISTIC For a given area of your product you only need a handful of end to end tests There is great power in a handful of meaningful & reliable tests @theBConnolly
  • 16. CONFIRM & CHARACTERIZE Write the Tests that: - Confirm that the Application is Releasable - Characterize Key Behaviors @theBConnolly
  • 18. ROLE OF THE TEAM PERSONAS Your Team is Unique To uncover the best automation strategy Understand your team first @theBConnolly
  • 19. The person or group responsible for writing test automation The person or system responsible for running the automated test suite The person or system that derives value from the results of test execution AUTOMATION PERSONAS CREATOR EXECUTOR CONSUMER @theBConnolly
  • 20. Writes tests while developing new functionality Runs tests as changes are made Test results inform and guide decisions through development process Developer Developer Developer AUTOMATION PERSONAS UNIT TESTS CASE #1 EXECUTOR CONSUMERCREATOR @theBConnolly
  • 21. Writes tests while developing new functionality When code is checked in tests are run and results collected Team knows their individual changes are not unintentionally affecting others Developer CI/CD Pipeline Dev Team AUTOMATION PERSONAS UNIT TESTS CASE #2 EXECUTORCREATOR CONSUMER @theBConnolly
  • 22. Writes tests while developing new functionality When code is checked in tests are run and results collected Tooling consumes or analyzes to derive actionable information Developer CI/CD Pipeline Metrics AUTOMATION PERSONAS UNIT TESTS CASE #3 EXECUTORCREATOR CONSUMER @theBConnolly
  • 23. Contextual Benefit - Direct & Meaningful Impact on Day to Day Work Collective Ownership - Team comes together to support quality outcomes Multiple Consumers - Value increased and costs reduced as tests provide multiple streams of value. @theBConnolly UNIT TEST VALUE CHARACTERISTICS
  • 24. QA / Tester writes automated tests Tests are run on some cadence. Before release, nightly build etc. Who is this for? How Do they benefit? QA Schedule ??? AUTOMATION PERSONAS UI / E2E TESTS EXECUTORCREATOR CONSUMER @theBConnolly
  • 25. QA / Tester writes automated tests Tests are run on some cadence. Before release, nightly build etc. QA / Tester reviews the test results focusing on tests they own QA Schedule QA AUTOMATION PERSONAS UI / E2E TESTS CASE #1 EXECUTORCREATOR CONSUMER @theBConnolly
  • 26. A dedicated team of automators writes tests QA / Tester runs the tests as needed based on release schedule Managers look at test result reports tracking trends and metrics. Automation Team QA Management AUTOMATION PERSONAS UI / E2E TESTS CASE #2 EXECUTORCREATOR CONSUMER @theBConnolly
  • 27. Contextual Benefit - Ensure Tests Provide Direct & Meaningful Value Collective Ownership - It Takes a Village to Support Automation Multiple Consumers - Identify Questions That Automation Can Answer for Consumers @theBConnolly UI / E2E TEST SUCCESS CRITERIA
  • 29. A MODEL OF ISOLATION THERE IS ALWAYS A BROADER CONTEXT WE TEST TO UNDERSTAND THE REALITY OF THAT CONTEXT @theBConnolly
  • 31. Just like the Test Pyramid a Quality Cathedral is built upon a solid foundation of unit tests QUALITY CATHEDRAL FOUNDATION @theBConnolly
  • 32. Focused On Building A Quality Application that Inspires & Engages Our Users QUALITY CATHEDRAL APPLICATION CENTRIC @theBConnolly
  • 33. Higher Level Tests Stand Alongside the Application Supporting the It Exactly Where It Needs it QUALITY CATHEDRAL TARGETED SUPPORTS @theBConnolly
  • 34. Free Standing Supports that reinforce lower level tests QUALITY CATHEDRAL BUTTRESSING QUALITY @theBConnolly
  • 36. A Network of Tests that work together to withstand the demand & stress your product faces QUALITY CATHEDRAL SCALE & WITHSTAND @theBConnolly
  • 37. You know your product You know your team Target where your application needs support with your resources to efficiently manage risk QUALITY CATHEDRAL YOUR TEAM YOUR SUPPORTS @theBConnolly
  • 39. WATCHING OUT FOR WATERFALLS Heavy Documentation Explicit Processes Bureaucracy These do not guarantee better outcomes Strategy needs to be Agile too @theBConnolly
  • 41. TEST STRATEGY CHARTERS Use (Testing / Automation Technique) Led By (Owner / Creator) To Support (Desired Outcomes) @theBConnolly
  • 42. TEST STRATEGY CHARTER EXAMPLES Use Unit Testing Led By Developers To Support a healthy codebase and easier refactoring Use End 2 End UI Tests Led By QA with Dev support To Support Exploratory testing on stable builds @theBConnolly
  • 43. STRATEGY EVALUATION EVENTS When: - Projects Kickoff / End - Team Members Change - Incidents / Outages - Team Retro’s Discuss, Evolve, Reflect @theBConnolly
  • 44. TEST STRATEGY RETROSPECTIVE Even without a documented test strategy, people will have their own ideas about what types of testing activities should or should not be occurring. It is worth periodically checking that everyone is on the same page. - Katrina Clokie https://leanpub.com/testingindevops @theBConnolly
  • 45. BUILDING YOUR STRATEGY Your App, Your Team, Your Needs Empower Quality @theBConnolly
  • 46. BE WELL, CREATE, SHARE Connect With Me @theBConnolly http://brendanconnolly.net