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
430
Beginner's Guide to the Test Automation Galaxy
angelariggs
0
120
Why is There a Marble in Your Nose?
angelariggs
1
590
Creating a Culture of Quality
angelariggs
2
270
Creating a Culture of Quality (TestBash SF)
angelariggs
2
500
Automating Visual Regression Testing with BackstopJS
angelariggs
1
430
Other Decks in Technology
See All in Technology
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
180
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
110
生成AIのガバナンスの全体像と現実解
fnifni
1
180
非機能品質を作り込むための実践アーキテクチャ
knih
3
1.1k
株式会社ログラス − エンジニア向け会社説明資料 / Loglass Comapany Deck for Engineer
loglass2019
3
32k
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
330
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
260
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.2k
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
280
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
210
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Building an army of robots
kneath
302
44k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
A Philosophy of Restraint
colly
203
16k
GraphQLとの向き合い方2022年版
quramy
44
13k
RailsConf 2023
tenderlove
29
940
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