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
310
Why is There a Marble in Your Nose?
angelariggs
0
440
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
270
Creating a Culture of Quality (TestBash SF)
angelariggs
2
510
Automating Visual Regression Testing with BackstopJS
angelariggs
1
440
Other Decks in Technology
See All in Technology
技術に触れたり、顔を出そう
maruto
1
150
JAWS-UG20250116_iOSアプリエンジニアがAWSreInventに行ってきた(真面目編)
totokit4
0
140
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
200
CDKのコードレビューを楽にするパッケージcdk-mentorを作ってみた/cdk-mentor
tomoki10
0
210
RubyでKubernetesプログラミング
sat
PRO
4
160
新卒1年目、はじめてのアプリケーションサーバー【IBM WebSphere Liberty】
ktgrryt
0
100
dbtを中心にして組織のアジリティとガバナンスのトレードオンを考えてみた
gappy50
0
210
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
850
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
140
Evolving Architecture
rainerhahnekamp
3
250
実践! ソフトウェアエンジニアリングの価値の計測 ── Effort、Output、Outcome、Impact
nomuson
0
2k
Building Scalable Backend Services with Firebase
wisdommatt
0
110
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Building Applications with DynamoDB
mza
93
6.2k
Making Projects Easy
brettharned
116
6k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
4 Signs Your Business is Dying
shpigford
182
22k
Site-Speed That Sticks
csswizardry
2
270
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
A better future with KSS
kneath
238
17k
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