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
290
Why is There a Marble in Your Nose?
angelariggs
0
420
Beginner's Guide to the Test Automation Galaxy
angelariggs
0
110
Why is There a Marble in Your Nose?
angelariggs
1
580
Creating a Culture of Quality
angelariggs
2
260
Creating a Culture of Quality (TestBash SF)
angelariggs
2
490
Automating Visual Regression Testing with BackstopJS
angelariggs
1
410
Other Decks in Technology
See All in Technology
Figma Dev Modeで進化するデザインとエンジニアリングの協働 / figma-with-engineering
cyberagentdevelopers
PRO
1
410
クライアントサイドでよく使われる Debounce処理 をサーバサイドで3回実装した話
yoshiori
1
140
日経電子版におけるリアルタイムレコメンドシステム開発の事例紹介/nikkei-realtime-recommender-system
yng87
1
400
CI/CDやテスト自動化の開発プロジェクトへの適用
megascus
3
720
ガバメントクラウド単独利用方式におけるIaC活用
techniczna
3
250
ABEMA のコンテンツ制作を最適化!生成 AI x クラウド映像編集システム / abema-ai-editor
cyberagentdevelopers
PRO
1
170
WINTICKETアプリで実現した高可用性と高速リリースを支えるエコシステム / winticket-eco-system
cyberagentdevelopers
PRO
1
190
Commitment vs Harrisonism - Keynote for Scrum Niseko 2024
miholovesq
5
750
【LT】ソフトウェア産業は進化しているのか? -Javaの想い出とともに- #jjug_ccc
takabow
0
160
AWS CDKでデータリストアの運用、どのように設計する?~Aurora・EFSの実践事例を紹介~/aws-cdk-data-restore-aurora-efs
mhrtech
3
480
プロダクト成長に対応するプラットフォーム戦略:Authleteによる共通認証基盤の移行事例 / Building an authentication platform using Authlete and AWS
kakehashi
1
130
Acelera la adopción de prácticas DevOps con GitHub @ BiznagaFest 2024
deors
1
100
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
280
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
Adopting Sorbet at Scale
ufuk
73
9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
664
120k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Statistics for Hackers
jakevdp
796
220k
The Cult of Friendly URLs
andyhume
78
6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
106
49k
4 Signs Your Business is Dying
shpigford
180
21k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
13
1.9k
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