Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
A Beginner's Guide to Test Automation
Search
Angela Riggs
November 07, 2019
Technology
1
460
A Beginner's Guide to Test Automation
TestBash San Francisco | 2019
Angela Riggs
November 07, 2019
Tweet
Share
More Decks by Angela Riggs
See All by Angela Riggs
STPCon | Why is There a Marble in Your Nose?
angelariggs
0
320
Why is There a Marble in Your Nose?
angelariggs
0
450
Beginner's Guide to the Test Automation Galaxy
angelariggs
0
120
Why is There a Marble in Your Nose?
angelariggs
1
610
Creating a Culture of Quality
angelariggs
2
280
Creating a Culture of Quality (TestBash SF)
angelariggs
2
520
Automating Visual Regression Testing with BackstopJS
angelariggs
1
450
Other Decks in Technology
See All in Technology
一度 Expo の採用を断念したけど、 再度 Expo の導入を検討している話
ichiki1023
1
170
君も受託系GISエンジニアにならないか
sudataka
2
430
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
130
Amazon S3 Tablesと外部分析基盤連携について / Amazon S3 Tables and External Data Analytics Platform
nttcom
0
130
(機械学習システムでも) SLO から始める信頼性構築 - ゆる SRE#9 2025/02/21
daigo0927
0
110
現場で役立つAPIデザイン
nagix
33
12k
抽象化をするということ - 具体と抽象の往復を身につける / Abstraction and concretization
soudai
16
6.2k
Classmethod AI Talks(CATs) #16 司会進行スライド(2025.02.12) / classmethod-ai-talks-aka-cats_moderator-slides_vol16_2025-02-12
shinyaa31
0
110
現場の種を事業の芽にする - エンジニア主導のイノベーションを事業戦略に装着する方法 -
kzkmaeda
2
2.1k
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
13
5.2k
人はなぜISUCONに夢中になるのか
kakehashi
PRO
6
1.7k
レビューを増やしつつ 高評価維持するテクニック
tsuzuki817
1
710
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Faster Mobile Websites
deanohume
306
31k
4 Signs Your Business is Dying
shpigford
182
22k
Producing Creativity
orderedlist
PRO
344
39k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Building Applications with DynamoDB
mza
93
6.2k
Writing Fast Ruby
sferik
628
61k
Transcript
@angelariggs_ TestBash SF | 2019 A Beginner’s Guide to Test
Automation
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 ✦ How do I choose
a framework? ✦ Who should write the tests? ✦ Should I run tests in our pipeline? ✦ Which tests should I automate? ✦ What are some best practices?
@angelariggs_ TestBash SF | 2019 When should we use test
automation?
@angelariggs_ TestBash SF | 2019 Why do we test? ✦
Prevent defects ✦ Maintain quality ✦ Meet users’ needs ✦ Increase confidence ✦ Understand our product
@angelariggs_ TestBash SF | 2019 Why do we automate? ✦
Run tests faster ✦ Better coverage ✦ Increase reliability ✦ Reusable / repeatable ✦ More frequent testing
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 Automation is not the goal.
The goal is to have tests that enhance your ability to achieve and maintain quality.
@angelariggs_ TestBash SF | 2019 When should we use test
automation?
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 Lower-risk or consistent functionality
@angelariggs_ TestBash SF | 2019 Smoke tests UI workflows Visual
validation
@angelariggs_ TestBash SF | 2019 Smoke tests UI workflows Visual
validation
@angelariggs_ TestBash SF | 2019 Smoke tests UI workflows Visual
validation
@angelariggs_ TestBash SF | 2019 Use automation for low-risk items
so you can focus on high-risk and high-priority functionality.
@angelariggs_ TestBash SF | 2019 High-risk items that need consistent
testing
@angelariggs_ TestBash SF | 2019 API tests Critical workflows Performance
& load testing
@angelariggs_ TestBash SF | 2019 API tests Critical workflows Performance
& load testing
@angelariggs_ TestBash SF | 2019 API tests Critical workflows Performance
& load testing
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 Getting Buy-In
@angelariggs_ TestBash SF | 2019 Automation is work.
@angelariggs_ TestBash SF | 2019 What do you want to
accomplish?
@angelariggs_ TestBash SF | 2019 How does this benefit them?
@angelariggs_ TestBash SF | 2019 ✦ Catch regressions ✦ Sprint
goals ✦ Prevent defects ✦ Team confidence ✦ Stakeholder confidence
@angelariggs_ TestBash SF | 2019 Improve your testing skills
@angelariggs_ TestBash SF | 2019 Choosing a Framework
@angelariggs_ TestBash SF | 2019 There is no framework to
rule them all. The right tool is the one that you’ll actually use.
@angelariggs_ TestBash SF | 2019 Code-based or codeless? Open-source or
paid?
@angelariggs_ TestBash SF | 2019 Who’s writing tests?
@angelariggs_ TestBash SF | 2019 How are you running your
tests?
@angelariggs_ TestBash SF | 2019 Is there a budget?
@angelariggs_ TestBash SF | 2019 Is there a “freemium” level?
@angelariggs_ TestBash SF | 2019 Is there a trial period?
@angelariggs_ TestBash SF | 2019 What’s the documentation like?
@angelariggs_ TestBash SF | 2019 How actively is the framework
maintained?
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 Writing Your Tests
@angelariggs_ TestBash SF | 2019 The goal of automation is
reliable, anti-fragile tests that are simple to maintain, update, and hand off.
@angelariggs_ TestBash SF | 2019 Test automation is code!
@angelariggs_ TestBash SF | 2019 Security
@angelariggs_ TestBash SF | 2019 Security
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 Clarity
@angelariggs_ TestBash SF | 2019 Write tests for Future You
@angelariggs_ TestBash SF | 2019 sleep(10)
@angelariggs_ TestBash SF | 2019 waitForElement(#footer)
@angelariggs_ TestBash SF | 2019 Independent tests
@angelariggs_ TestBash SF | 2019 Create reservation ✦ Enter location
✦ Select dates ✦ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
@angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location
✦ Select dates ✦ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
@angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location
✅ Select dates ✦ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
@angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location
✅ Select dates ✅ Select unit ✦ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
@angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location
✅ Select dates ✅ Select unit ❌ Book vacation Modify reservation ✦ Look up reservation ✦ Select Edit option ✦ Change dates ✦ Confirm new dates
@angelariggs_ TestBash SF | 2019 Create reservation ✅ Enter location
✅ Select dates ✅ Select unit ❌ Book vacation Modify reservation ❌ Look up reservation ❌ Select Edit option ❌ Change dates ❌ Confirm new dates
@angelariggs_ TestBash SF | 2019 Independent tests reduce fragility and
allow for faster test runs with parallelism.
@angelariggs_ TestBash SF | 2019 Failures
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 The goal of automation isn’t
having tests that pass. The goal of automation is having tests that accurately catch failures.
@angelariggs_ TestBash SF | 2019 If a test never fails,
is it providing value?
@angelariggs_ TestBash SF | 2019 Planning for failure means writing
your tests in a way that make those failures useful.
@angelariggs_ TestBash SF | 2019 “it 404’ed”
@angelariggs_ TestBash SF | 2019 “Ticket page sends a 404
if support file does not exist”
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 Understand the questions you should
ask so you can find the answers that work for you
@angelariggs_ TestBash SF | 2019 Understand the benefits of automation,
so you know when to use it
@angelariggs_ TestBash SF | 2019 Understand how to get buy-in
for prioritizing automation work
@angelariggs_ TestBash SF | 2019 Understand how to research frameworks,
so you can find the one that meets your needs
@angelariggs_ TestBash SF | 2019 Understanding good automation practices, so
you can create anti-fragile tests
@angelariggs_ TestBash SF | 2019
@angelariggs_ TestBash SF | 2019 Thank you!
@angelariggs_ TestBash SF | 2019 Resources
@angelariggs_ TestBash SF | 2019 Lucy Wyman & Zach Reichert
Test Automation University Are Our Tests Any Good? http://bit.ly/are-our-tests-good Online automation courses http://bit.ly/test-automation-uni