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
300
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
590
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
B2B SaaS × AI機能開発 〜テナント分離のパターン解説〜 / B2B SaaS x AI function development - Explanation of tenant separation pattern
oztick139
2
220
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
490
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
3
180
Can We Measure Developer Productivity?
ewolff
1
150
いざ、BSC討伐の旅
nikinusu
2
780
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
複雑なState管理からの脱却
sansantech
PRO
1
140
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
580
ハイパーパラメータチューニングって何をしているの
toridori_dev
0
140
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
920
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Building an army of robots
kneath
302
43k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Gamification - CAS2011
davidbonilla
80
5k
GitHub's CSS Performance
jonrohan
1030
460k
Practical Orchestrator
shlominoach
186
10k
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