SlideShare uma empresa Scribd logo
1 de 52
Check This
Test Automation
A Development Managers View
@stephenjanaway
HELLO!
@stephenjanaway
Head Of
Technology
VP
Engineering
Senior Quality
Gate
Manager
Tester Test Lead
Developer
(first job)
Quality Gate Manager Delivery Manager
?
Test Manager
Test Manager
Test Coach
?
Why Should I Be Talking To You?
DISCLAIMER
MY CONTEXT, MY PROBLEMS,
WHAT I’VE SEEN WORK
Test Automation At a Leading
Fashion E-commerce Company
@stephenjanawayLicensed under Creative Commons Attribution 2.5 Denmark. - Benjamin Suomela/norden.org
You aren’t there to make
the automated tests pass
@stephenjanaway
Photo: https://www.flickr.com/photos/cgrusden/
“Good testing
involves balancing
the need to mitigate
risk against the risk
of trying to gather too
much information”
Jerry Weinberg
@stephenjanaway
Some Terminology
@stephenjanaway
What Is Testing?
Trying the software
to see if it works...
@stephenjanaway
Testing
The process of evaluating a product
by learning about it
through exploration and experimentation
Source: http://www.satisfice.com/blog/archives/856
@stephenjanaway
Checking
The process of making evaluations
by applying algorithmic decision rules
to specific observations of a product
Source: http://www.satisfice.com/blog/archives/856
@stephenjanaway
Test Automation
Writing code to check, AND help testing
@stephenjanaway
Team
A group of awesome people who want to deliver value
Your job as a manager is to enable them to do that
@stephenjanaway
Now what?
Train
them
Find the
people
What Is
Automation
anyway?
Saving the
world
Start here
Build a great team Get it live
What should
you care
about?
Choose
a tool
Let’s Go On a Journey
Plan
your
project
End here
Why Do We Need Test Automation Anyway?
@stephenjanaway
Photo: https://www.flickr.com/photos/cgrusden/
“Done is better than
perfect because
something is better
than nothing”
Sheryl Sandberg

@stephenjanaway
“People who don’t really get testing tend to want
to turn it into a programming problem instead”
Jeff Nyman
@stephenjanaway
What Should a Manager
Care About?
" Predictable, efficient software
delivery
" A happy, motivated team
" Easy (as possible) hiring of new
people
" A team that cares about quality
@stephenjanaway
Your Test Automation
Won’t Save The World
" It’s tempting to eat the
“Selenium” donut
" But is it short term
pleasure?
" Automation is not rocket
science, but it’s not trivial
either
@stephenjanaway
Recognise That Test
Automation Doesn’t Just
Mean Writing Checking Code
" The ickle test helper
" Testing tools save time and
promote efficiency
" This is automation in testing
@stephenjanaway
“Automation is the judicious
application of technology
to help humans do their jobs”
Paul Grizzaffi
@pgrizzaffi
@stephenjanaway
Ringelmann Effect
@stephenjanaway
“The tendency for individual members of a group
to become increasingly less productive
as the size of their group increases”
You Don’t Need a
Test Automation Team
" Silo’s breed apathy
" Testers should be in teams
" Pairing with developers -
building a bridge
" Team’s own quality
" A separate test automation
team is a lonely place
@stephenjanaway
Team’s Own Automation
UI Tests
API Contract Tests
Unit Tests
Web & Mobile
Clients
Platform
{Team
@stephenjanaway
Automate (a lot)
of the things as a team
@stephenjanaway
@stephenjanaway
Orders of Ignorance
@stephenjanaway
3rd Order Ignorance:
Lack of Process
I don't know a suitably efficient
way to find out I don't know
that I don't know something
2nd Order Ignorance:
Lack of Awareness
I don't know that I don't know
something
1st Order Ignorance: Lack
of Knowledge
I don't know something
0th Order Ignorance: Lack
of Ignorance
I (probably) know something
Good Testing
@stephenjanaway
Automation Can Do a Lot But It Can’t Check...
Thought
patterns
User
reactions
Usability
Perceived
Performance
Claims
Unknown
behaviours
What If I…?
Look and feel
Accessibility
Compatibility
@stephenjanaway
Ambiguity
Business
understanding
Value
judgements
Do you need more
tests?
Automation Can't Check All Of This...
Thought
patterns
User
reactions
Usability
Perceived
Performance
Claims
Unknown
behaviours
What If I…?
Look and feel
Accessibility
Compatibility
@stephenjanaway
Ambiguity
Business
understanding
Value
judgements
Do you need more
You Can Only Automate
What You Know and Expect
2nd Order Ignorance:
Lack of Awareness
I don't know that I don't know
something
You Need
Exploratory Testers
" Tools cannot reason
" Tools will not look for ambiguity
" Tools do not understand your
business
" Tools will not make any value
judgments about tests
" Tools don’t know how to produce
further tests
@stephenjanaway
If You Must Hire Test Automators
Then Do So With Care
" When you hire developers then talk to
them about testing
" Watch out for the developer foot in
the door
" Think about remit
" Hire like you would hire a developer.
Be technical. Have technical tests
" Expect them to think like a developer
" Expect them to think like a tester
@stephenjanaway
If You Must, Train With Care
" Don’t get your existing test
automators to train your
exploratory testers
" Invest in your team and that
means paying for training
" If you are serious about test
automation then be serious about
the cost
" Wouldn’t it be better to train the
developers to be better testers?
@stephenjanaway
No one would ask a developer to teach
an employee to code from scratch
Why Is This Acceptable For Test
Automation?
@stephenjanaway
Care About Flow
" Predictable cycle times
" Does my automation help?
" When team’s own
automation then work flows
more smoothly
@stephenjanaway
@stephenjanaway
Design Develop Test Release
Months
Weeks Weeks Weeks
Don’t ever do this (again)
Present Bias
“The tendency to over-value immediate rewards
at the expense of our long-term intentions”
@stephenjanaway
Don’t Automate All The Things
Lots of automated tests is not
something to be proud of:
" Who debugs the tests?
" Who maintains the tests?
" Can you efficiently scale the team
to keep up?
" How quickly do the tests generate
results? Information? Value?
Exploit Present Bias with Tea
@stephenjanaway
Team Automation Establishes
Common Ground
" A shared language
" Easier pairing
" A bridge to build better
relationships
@stephenjanaway
Testing Tool Vendors Promise
You The Earth
Vendors and test centres make fancy
and outlandish claims.
" 100% test automation
" Replace all your manual testers
" 76% efficiency increase
Be wary
@stephenjanaway
Don’t Dictate That Every Team
Uses The Same Tools
Cost savings and overall efficiency
vs autonomy and buy-in
Your team know the best tools but
set some principles:
" Well supported
" Open source (with recent PRs)
" Uses existing team skill set
@stephenjanaway
Don’t Write From Scratch
" It’s expensive
" It wastes previous experience
" It locks knowledge in a few
people's heads
" Most production code isn’t
written this way
@stephenjanaway
Care about a test automation
project just like any other project
Test automation projects are so often
treated we less rigor and care
" Scope creep is bad
" It should deliver
" Don’t change language or
framework halfway through
" Think about requirements
" Same language, same repo, same
review processes, CI

@stephenjanaway
Automation Goes Stale
Even if you have a suitable number of
automated test cases:
" More features = more tests
" New test for every bug = more
tests
" More tests = bloated test suites
" Bloated test suites = less efficient
testing
You need a plan to manage growth
@stephenjanaway
Focus On The Outcome -
Failing and Passing Checks
" You need a process to
review results
" Triage
" Dashboards
" Stale tests
" Don’t forget why you are
testing in the first place
@stephenjanaway
Hint...
You aren’t there to make
the automated tests pass
@stephenjanaway
Photo: https://www.flickr.com/photos/cgrusden/
“Good testing
involves balancing
the need to mitigate
risk against the risk
of trying to gather too
much information”
Jerry Weinberg
@stephenjanaway
Train
them
Find the
people
What Is
Automation
anyway?
Start here
Build a great team Get it live
What should
you care
about?
Saving the
world
Choose
a tool
So We Went On a Journey
Plan
your
project
End here
Now what?
What Have I Learnt?
" You need the right amount of test automation
" Separate automation teams are a bad thing
" Small cross functional teams owning test automation are a good thing
" People will promise that test automation solves every problem you have.
It doesn’t
" Treat test automation just like production code
" Treat test automation projects just like production projects
" Hire with care
" Invest in training but don’t expect your people to do it (all)
" Don’t forget why you are testing in the first place
" You need exploratory testers too
@stephenjanaway
Everyone Is Responsible For Quality
@stephenjanaway
Stephen Janaway
@stephenjanaway stephenjanaway.co.uk testinginthepub.com

Mais conteúdo relacionado

Mais procurados

How to ace technical interviews
How to ace technical interviewsHow to ace technical interviews
How to ace technical interviewsTransferWiseSG
 
Agile India: Working without Product Owner
Agile India: Working without Product OwnerAgile India: Working without Product Owner
Agile India: Working without Product OwnerMaaret Pyhäjärvi
 
AGRS2019: Breaking illusions with Testing
AGRS2019: Breaking illusions with TestingAGRS2019: Breaking illusions with Testing
AGRS2019: Breaking illusions with TestingMaaret Pyhäjärvi
 
Claudiu Draghia ITEM 2018
Claudiu Draghia ITEM 2018Claudiu Draghia ITEM 2018
Claudiu Draghia ITEM 2018ITEM
 
Rapid Prototyping Nearsoft Workshop
Rapid Prototyping Nearsoft WorkshopRapid Prototyping Nearsoft Workshop
Rapid Prototyping Nearsoft WorkshopMisael Leon
 
Lean responsive - Expanded
Lean responsive - ExpandedLean responsive - Expanded
Lean responsive - ExpandedJosh Jeffryes
 
Learn Unit Testing and Improve Sexual Performance
Learn Unit Testing and Improve Sexual PerformanceLearn Unit Testing and Improve Sexual Performance
Learn Unit Testing and Improve Sexual PerformanceBill Shelton
 
Executable Specifications with FitNesse and Selenium
Executable Specifications with FitNesse and SeleniumExecutable Specifications with FitNesse and Selenium
Executable Specifications with FitNesse and SeleniumDawn Code
 
Acceptance And Story Testing Patterns - By Charles Bradley
Acceptance And Story Testing Patterns - By Charles BradleyAcceptance And Story Testing Patterns - By Charles Bradley
Acceptance And Story Testing Patterns - By Charles BradleySynerzip
 
Scaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without FearScaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without FearTechWell
 
Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021Chris Farnum
 
How to Write an Efficient Defect Case & Save Money
How to Write an Efficient Defect Case & Save MoneyHow to Write an Efficient Defect Case & Save Money
How to Write an Efficient Defect Case & Save MoneyMediacurrent
 
UXPA DC - UX 101 Intensive Workshop - Usability Testing
UXPA DC - UX 101 Intensive Workshop - Usability TestingUXPA DC - UX 101 Intensive Workshop - Usability Testing
UXPA DC - UX 101 Intensive Workshop - Usability TestingStephanie Pratt
 

Mais procurados (16)

How to ace technical interviews
How to ace technical interviewsHow to ace technical interviews
How to ace technical interviews
 
Agile India: Working without Product Owner
Agile India: Working without Product OwnerAgile India: Working without Product Owner
Agile India: Working without Product Owner
 
AGRS2019: Breaking illusions with Testing
AGRS2019: Breaking illusions with TestingAGRS2019: Breaking illusions with Testing
AGRS2019: Breaking illusions with Testing
 
Claudiu Draghia ITEM 2018
Claudiu Draghia ITEM 2018Claudiu Draghia ITEM 2018
Claudiu Draghia ITEM 2018
 
Rapid Prototyping Nearsoft Workshop
Rapid Prototyping Nearsoft WorkshopRapid Prototyping Nearsoft Workshop
Rapid Prototyping Nearsoft Workshop
 
Angular js
Angular jsAngular js
Angular js
 
Lean responsive - Expanded
Lean responsive - ExpandedLean responsive - Expanded
Lean responsive - Expanded
 
Learn Unit Testing and Improve Sexual Performance
Learn Unit Testing and Improve Sexual PerformanceLearn Unit Testing and Improve Sexual Performance
Learn Unit Testing and Improve Sexual Performance
 
Executable Specifications with FitNesse and Selenium
Executable Specifications with FitNesse and SeleniumExecutable Specifications with FitNesse and Selenium
Executable Specifications with FitNesse and Selenium
 
Acceptance And Story Testing Patterns - By Charles Bradley
Acceptance And Story Testing Patterns - By Charles BradleyAcceptance And Story Testing Patterns - By Charles Bradley
Acceptance And Story Testing Patterns - By Charles Bradley
 
Scaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without FearScaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without Fear
 
Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021Remote User Testing - MSU 12 Nov2021
Remote User Testing - MSU 12 Nov2021
 
How to Write an Efficient Defect Case & Save Money
How to Write an Efficient Defect Case & Save MoneyHow to Write an Efficient Defect Case & Save Money
How to Write an Efficient Defect Case & Save Money
 
UXPA DC - UX 101 Intensive Workshop - Usability Testing
UXPA DC - UX 101 Intensive Workshop - Usability TestingUXPA DC - UX 101 Intensive Workshop - Usability Testing
UXPA DC - UX 101 Intensive Workshop - Usability Testing
 
Shift left
Shift leftShift left
Shift left
 
Tdd
TddTdd
Tdd
 

Semelhante a Check This - Test Automation, A Development Managers View

Automation testing: how tools are important?
Automation testing: how tools are important?Automation testing: how tools are important?
Automation testing: how tools are important?MD ISLAM
 
How selenium can transform your qa career
How selenium can transform your qa careerHow selenium can transform your qa career
How selenium can transform your qa careerShama Ugale
 
Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software developmentBas Dijkstra
 
Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...
Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...
Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...Michael Larsen
 
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012TEST Huddle
 
19 creamer et workshop-agile2019-wash_pp_16-9_1
19 creamer et workshop-agile2019-wash_pp_16-9_119 creamer et workshop-agile2019-wash_pp_16-9_1
19 creamer et workshop-agile2019-wash_pp_16-9_1Lanette Creamer
 
Lessons Learned When Automating
Lessons Learned When AutomatingLessons Learned When Automating
Lessons Learned When AutomatingAlan Richardson
 
Breathing the breath of the monster combining agile and context-driven
Breathing the breath of the monster   combining agile and context-drivenBreathing the breath of the monster   combining agile and context-driven
Breathing the breath of the monster combining agile and context-drivenIlari Henrik Aegerter
 
Evil Tester's Guide to Agile Testing
Evil Tester's Guide to Agile TestingEvil Tester's Guide to Agile Testing
Evil Tester's Guide to Agile TestingAlan Richardson
 
Chicago Code Camp 2014 - Agile Testing in a waterfall world
Chicago Code Camp 2014 - Agile Testing in a waterfall worldChicago Code Camp 2014 - Agile Testing in a waterfall world
Chicago Code Camp 2014 - Agile Testing in a waterfall worldAngela Dugan
 
Re-thinking Test Automation and Test Process Modelling (in pictures)
Re-thinking Test Automation and Test Process Modelling (in pictures)Re-thinking Test Automation and Test Process Modelling (in pictures)
Re-thinking Test Automation and Test Process Modelling (in pictures)Alan Richardson
 
Manual Tester To Automation Tester
Manual Tester To Automation Tester Manual Tester To Automation Tester
Manual Tester To Automation Tester Kalyan Katuru
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automationDavid Tzemach
 
CP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation TestingCP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation TestingAgile Testing Alliance
 
Requirementless testing
Requirementless testingRequirementless testing
Requirementless testingJulen Mohanty
 
Automated vs manual testing
Automated vs manual testingAutomated vs manual testing
Automated vs manual testingKanoah
 
A Context-Driven Approach to Automation in Testing
A Context-Driven Approach to Automation in TestingA Context-Driven Approach to Automation in Testing
A Context-Driven Approach to Automation in TestingBugRaptors
 
Holistic testing in DevOps
Holistic testing in DevOpsHolistic testing in DevOps
Holistic testing in DevOpsJanet Gregory
 
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOpsFuture Processing
 

Semelhante a Check This - Test Automation, A Development Managers View (20)

Automation testing: how tools are important?
Automation testing: how tools are important?Automation testing: how tools are important?
Automation testing: how tools are important?
 
How selenium can transform your qa career
How selenium can transform your qa careerHow selenium can transform your qa career
How selenium can transform your qa career
 
Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software development
 
Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...
Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...
Get the Balance Right: Acceptance Test Driven Development, GUI Automation and...
 
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
Saksham Sarode - Innovation Through Introspection - EuroSTAR 2012
 
19 creamer et workshop-agile2019-wash_pp_16-9_1
19 creamer et workshop-agile2019-wash_pp_16-9_119 creamer et workshop-agile2019-wash_pp_16-9_1
19 creamer et workshop-agile2019-wash_pp_16-9_1
 
Lessons Learned When Automating
Lessons Learned When AutomatingLessons Learned When Automating
Lessons Learned When Automating
 
Breathing the breath of the monster combining agile and context-driven
Breathing the breath of the monster   combining agile and context-drivenBreathing the breath of the monster   combining agile and context-driven
Breathing the breath of the monster combining agile and context-driven
 
Evil Tester's Guide to Agile Testing
Evil Tester's Guide to Agile TestingEvil Tester's Guide to Agile Testing
Evil Tester's Guide to Agile Testing
 
Chicago Code Camp 2014 - Agile Testing in a waterfall world
Chicago Code Camp 2014 - Agile Testing in a waterfall worldChicago Code Camp 2014 - Agile Testing in a waterfall world
Chicago Code Camp 2014 - Agile Testing in a waterfall world
 
Re-thinking Test Automation and Test Process Modelling (in pictures)
Re-thinking Test Automation and Test Process Modelling (in pictures)Re-thinking Test Automation and Test Process Modelling (in pictures)
Re-thinking Test Automation and Test Process Modelling (in pictures)
 
Manual Tester To Automation Tester
Manual Tester To Automation Tester Manual Tester To Automation Tester
Manual Tester To Automation Tester
 
Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 
CP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation TestingCP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation Testing
 
E2 e test with testcafe
E2 e test with testcafeE2 e test with testcafe
E2 e test with testcafe
 
Requirementless testing
Requirementless testingRequirementless testing
Requirementless testing
 
Automated vs manual testing
Automated vs manual testingAutomated vs manual testing
Automated vs manual testing
 
A Context-Driven Approach to Automation in Testing
A Context-Driven Approach to Automation in TestingA Context-Driven Approach to Automation in Testing
A Context-Driven Approach to Automation in Testing
 
Holistic testing in DevOps
Holistic testing in DevOpsHolistic testing in DevOps
Holistic testing in DevOps
 
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
 

Mais de Stephen Janaway

Understanding Your Mobile User
Understanding Your Mobile UserUnderstanding Your Mobile User
Understanding Your Mobile UserStephen Janaway
 
Why I Lost My Job As a Test Manager and What I Learnt As a Result
Why I Lost My Job As a Test Manager and What I Learnt As a ResultWhy I Lost My Job As a Test Manager and What I Learnt As a Result
Why I Lost My Job As a Test Manager and What I Learnt As a ResultStephen Janaway
 
Mobile Users Are Different
Mobile Users Are DifferentMobile Users Are Different
Mobile Users Are DifferentStephen Janaway
 
Mobile Testing, That's Just a Smaller Screen, Right
Mobile Testing, That's Just a Smaller Screen, RightMobile Testing, That's Just a Smaller Screen, Right
Mobile Testing, That's Just a Smaller Screen, RightStephen Janaway
 
London Tester Gathering Workshops - Mobile Software Testing - Stephen Janaway
London Tester Gathering Workshops - Mobile Software Testing - Stephen JanawayLondon Tester Gathering Workshops - Mobile Software Testing - Stephen Janaway
London Tester Gathering Workshops - Mobile Software Testing - Stephen JanawayStephen Janaway
 
Mobile Testing, That's Just a Smaller Screen, Right? Stephen Janaway
Mobile Testing, That's Just a Smaller Screen, Right?   Stephen JanawayMobile Testing, That's Just a Smaller Screen, Right?   Stephen Janaway
Mobile Testing, That's Just a Smaller Screen, Right? Stephen JanawayStephen Janaway
 
Mobile Testing, That's Just A Smaller Screen, Right?
Mobile Testing, That's Just A Smaller Screen, Right?Mobile Testing, That's Just A Smaller Screen, Right?
Mobile Testing, That's Just A Smaller Screen, Right?Stephen Janaway
 
An Introduction To Mobile Software Testing
An Introduction To Mobile Software TestingAn Introduction To Mobile Software Testing
An Introduction To Mobile Software TestingStephen Janaway
 
A Testers Hierarchy Of Needs
A Testers Hierarchy Of NeedsA Testers Hierarchy Of Needs
A Testers Hierarchy Of NeedsStephen Janaway
 

Mais de Stephen Janaway (12)

Understanding Your Mobile User
Understanding Your Mobile UserUnderstanding Your Mobile User
Understanding Your Mobile User
 
Why I Lost My Job As a Test Manager and What I Learnt As a Result
Why I Lost My Job As a Test Manager and What I Learnt As a ResultWhy I Lost My Job As a Test Manager and What I Learnt As a Result
Why I Lost My Job As a Test Manager and What I Learnt As a Result
 
Mobile Users Are Different
Mobile Users Are DifferentMobile Users Are Different
Mobile Users Are Different
 
Mobile Testing, That's Just a Smaller Screen, Right
Mobile Testing, That's Just a Smaller Screen, RightMobile Testing, That's Just a Smaller Screen, Right
Mobile Testing, That's Just a Smaller Screen, Right
 
Automation and Testing
Automation and TestingAutomation and Testing
Automation and Testing
 
London Tester Gathering Workshops - Mobile Software Testing - Stephen Janaway
London Tester Gathering Workshops - Mobile Software Testing - Stephen JanawayLondon Tester Gathering Workshops - Mobile Software Testing - Stephen Janaway
London Tester Gathering Workshops - Mobile Software Testing - Stephen Janaway
 
Mobile Testing, That's Just a Smaller Screen, Right? Stephen Janaway
Mobile Testing, That's Just a Smaller Screen, Right?   Stephen JanawayMobile Testing, That's Just a Smaller Screen, Right?   Stephen Janaway
Mobile Testing, That's Just a Smaller Screen, Right? Stephen Janaway
 
Testing As An Activity
Testing As An ActivityTesting As An Activity
Testing As An Activity
 
Testing Your Emotions
Testing Your EmotionsTesting Your Emotions
Testing Your Emotions
 
Mobile Testing, That's Just A Smaller Screen, Right?
Mobile Testing, That's Just A Smaller Screen, Right?Mobile Testing, That's Just A Smaller Screen, Right?
Mobile Testing, That's Just A Smaller Screen, Right?
 
An Introduction To Mobile Software Testing
An Introduction To Mobile Software TestingAn Introduction To Mobile Software Testing
An Introduction To Mobile Software Testing
 
A Testers Hierarchy Of Needs
A Testers Hierarchy Of NeedsA Testers Hierarchy Of Needs
A Testers Hierarchy Of Needs
 

Último

WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
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 AidPhilip Schwarz
 

Último (20)

WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
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
 

Check This - Test Automation, A Development Managers View

  • 1. Check This Test Automation A Development Managers View @stephenjanaway
  • 3. Head Of Technology VP Engineering Senior Quality Gate Manager Tester Test Lead Developer (first job) Quality Gate Manager Delivery Manager ? Test Manager Test Manager Test Coach ? Why Should I Be Talking To You?
  • 4. DISCLAIMER MY CONTEXT, MY PROBLEMS, WHAT I’VE SEEN WORK
  • 5. Test Automation At a Leading Fashion E-commerce Company @stephenjanawayLicensed under Creative Commons Attribution 2.5 Denmark. - Benjamin Suomela/norden.org
  • 6. You aren’t there to make the automated tests pass @stephenjanaway
  • 7. Photo: https://www.flickr.com/photos/cgrusden/ “Good testing involves balancing the need to mitigate risk against the risk of trying to gather too much information” Jerry Weinberg @stephenjanaway
  • 9. What Is Testing? Trying the software to see if it works... @stephenjanaway
  • 10.
  • 11. Testing The process of evaluating a product by learning about it through exploration and experimentation Source: http://www.satisfice.com/blog/archives/856 @stephenjanaway
  • 12. Checking The process of making evaluations by applying algorithmic decision rules to specific observations of a product Source: http://www.satisfice.com/blog/archives/856 @stephenjanaway
  • 13. Test Automation Writing code to check, AND help testing @stephenjanaway
  • 14. Team A group of awesome people who want to deliver value Your job as a manager is to enable them to do that @stephenjanaway
  • 15. Now what? Train them Find the people What Is Automation anyway? Saving the world Start here Build a great team Get it live What should you care about? Choose a tool Let’s Go On a Journey Plan your project End here
  • 16. Why Do We Need Test Automation Anyway? @stephenjanaway
  • 17. Photo: https://www.flickr.com/photos/cgrusden/ “Done is better than perfect because something is better than nothing” Sheryl Sandberg
 @stephenjanaway
  • 18. “People who don’t really get testing tend to want to turn it into a programming problem instead” Jeff Nyman @stephenjanaway
  • 19. What Should a Manager Care About? " Predictable, efficient software delivery " A happy, motivated team " Easy (as possible) hiring of new people " A team that cares about quality @stephenjanaway
  • 20. Your Test Automation Won’t Save The World " It’s tempting to eat the “Selenium” donut " But is it short term pleasure? " Automation is not rocket science, but it’s not trivial either @stephenjanaway
  • 21. Recognise That Test Automation Doesn’t Just Mean Writing Checking Code " The ickle test helper " Testing tools save time and promote efficiency " This is automation in testing @stephenjanaway
  • 22. “Automation is the judicious application of technology to help humans do their jobs” Paul Grizzaffi @pgrizzaffi @stephenjanaway
  • 23. Ringelmann Effect @stephenjanaway “The tendency for individual members of a group to become increasingly less productive as the size of their group increases”
  • 24. You Don’t Need a Test Automation Team " Silo’s breed apathy " Testers should be in teams " Pairing with developers - building a bridge " Team’s own quality " A separate test automation team is a lonely place @stephenjanaway
  • 25. Team’s Own Automation UI Tests API Contract Tests Unit Tests Web & Mobile Clients Platform {Team @stephenjanaway
  • 26. Automate (a lot) of the things as a team @stephenjanaway
  • 29. 3rd Order Ignorance: Lack of Process I don't know a suitably efficient way to find out I don't know that I don't know something 2nd Order Ignorance: Lack of Awareness I don't know that I don't know something 1st Order Ignorance: Lack of Knowledge I don't know something 0th Order Ignorance: Lack of Ignorance I (probably) know something Good Testing @stephenjanaway
  • 30. Automation Can Do a Lot But It Can’t Check... Thought patterns User reactions Usability Perceived Performance Claims Unknown behaviours What If I…? Look and feel Accessibility Compatibility @stephenjanaway Ambiguity Business understanding Value judgements Do you need more tests?
  • 31. Automation Can't Check All Of This... Thought patterns User reactions Usability Perceived Performance Claims Unknown behaviours What If I…? Look and feel Accessibility Compatibility @stephenjanaway Ambiguity Business understanding Value judgements Do you need more You Can Only Automate What You Know and Expect 2nd Order Ignorance: Lack of Awareness I don't know that I don't know something
  • 32. You Need Exploratory Testers " Tools cannot reason " Tools will not look for ambiguity " Tools do not understand your business " Tools will not make any value judgments about tests " Tools don’t know how to produce further tests @stephenjanaway
  • 33. If You Must Hire Test Automators Then Do So With Care " When you hire developers then talk to them about testing " Watch out for the developer foot in the door " Think about remit " Hire like you would hire a developer. Be technical. Have technical tests " Expect them to think like a developer " Expect them to think like a tester @stephenjanaway
  • 34. If You Must, Train With Care " Don’t get your existing test automators to train your exploratory testers " Invest in your team and that means paying for training " If you are serious about test automation then be serious about the cost " Wouldn’t it be better to train the developers to be better testers? @stephenjanaway
  • 35. No one would ask a developer to teach an employee to code from scratch Why Is This Acceptable For Test Automation? @stephenjanaway
  • 36. Care About Flow " Predictable cycle times " Does my automation help? " When team’s own automation then work flows more smoothly @stephenjanaway
  • 37. @stephenjanaway Design Develop Test Release Months Weeks Weeks Weeks Don’t ever do this (again)
  • 38. Present Bias “The tendency to over-value immediate rewards at the expense of our long-term intentions” @stephenjanaway
  • 39. Don’t Automate All The Things Lots of automated tests is not something to be proud of: " Who debugs the tests? " Who maintains the tests? " Can you efficiently scale the team to keep up? " How quickly do the tests generate results? Information? Value? Exploit Present Bias with Tea @stephenjanaway
  • 40. Team Automation Establishes Common Ground " A shared language " Easier pairing " A bridge to build better relationships @stephenjanaway
  • 41. Testing Tool Vendors Promise You The Earth Vendors and test centres make fancy and outlandish claims. " 100% test automation " Replace all your manual testers " 76% efficiency increase Be wary @stephenjanaway
  • 42. Don’t Dictate That Every Team Uses The Same Tools Cost savings and overall efficiency vs autonomy and buy-in Your team know the best tools but set some principles: " Well supported " Open source (with recent PRs) " Uses existing team skill set @stephenjanaway
  • 43. Don’t Write From Scratch " It’s expensive " It wastes previous experience " It locks knowledge in a few people's heads " Most production code isn’t written this way @stephenjanaway
  • 44. Care about a test automation project just like any other project Test automation projects are so often treated we less rigor and care " Scope creep is bad " It should deliver " Don’t change language or framework halfway through " Think about requirements " Same language, same repo, same review processes, CI
 @stephenjanaway
  • 45. Automation Goes Stale Even if you have a suitable number of automated test cases: " More features = more tests " New test for every bug = more tests " More tests = bloated test suites " Bloated test suites = less efficient testing You need a plan to manage growth @stephenjanaway
  • 46. Focus On The Outcome - Failing and Passing Checks " You need a process to review results " Triage " Dashboards " Stale tests " Don’t forget why you are testing in the first place @stephenjanaway
  • 47. Hint... You aren’t there to make the automated tests pass @stephenjanaway
  • 48. Photo: https://www.flickr.com/photos/cgrusden/ “Good testing involves balancing the need to mitigate risk against the risk of trying to gather too much information” Jerry Weinberg @stephenjanaway
  • 49. Train them Find the people What Is Automation anyway? Start here Build a great team Get it live What should you care about? Saving the world Choose a tool So We Went On a Journey Plan your project End here Now what?
  • 50. What Have I Learnt? " You need the right amount of test automation " Separate automation teams are a bad thing " Small cross functional teams owning test automation are a good thing " People will promise that test automation solves every problem you have. It doesn’t " Treat test automation just like production code " Treat test automation projects just like production projects " Hire with care " Invest in training but don’t expect your people to do it (all) " Don’t forget why you are testing in the first place " You need exploratory testers too @stephenjanaway
  • 51. Everyone Is Responsible For Quality @stephenjanaway