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
An Introduction to Automated Web Testing
Search
Cadu Ribeiro
October 12, 2017
Programming
3
70
An Introduction to Automated Web Testing
Cadu Ribeiro
October 12, 2017
Tweet
Share
More Decks by Cadu Ribeiro
See All by Cadu Ribeiro
DevContainers: Facilitando o Setup de ambientes de desenvolvimento
duduribeiro
0
38
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
45
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
70
Vim inside VSCode
duduribeiro
0
29
Continuous Delivery - On the real world
duduribeiro
0
91
Continuous Delivery
duduribeiro
0
44
Agility Through Continuous Delivery
duduribeiro
0
53
Hello Ruby
duduribeiro
2
72
Other Decks in Programming
See All in Programming
AWS Summit Japan 2024と2025の比較/はじめてのKiro、今あなたは岐路に立つ
satoshi256kbyte
1
220
PHPUnitの限界をPlaywrightで補完するテストアプローチ
yuzneri
0
260
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
5
9.2k
コーディングエージェント概観(2025/07)
itsuki_t88
0
120
「App Intent」よくわからんけどすごい!
rinngo0302
1
120
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
150
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
480
バイブスあるコーディングで ~PHP~ 便利ツールをつくるプラクティス
uzulla
1
230
マッチングアプリにおけるフリックUIで苦労したこと
yuheiito
0
230
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
130
階層化自動テストで開発に機動力を
ickx
1
400
Model Pollution
hschwentner
1
160
Featured
See All Featured
Music & Morning Musume
bryan
46
6.7k
Designing for humans not robots
tammielis
253
25k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Practical Orchestrator
shlominoach
189
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Language of Interfaces
destraynor
158
25k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Git: the NoSQL Database
bkeepers
PRO
431
65k
The Cost Of JavaScript in 2023
addyosmani
51
8.6k
Transcript
Automated Web Testing AN INTRODUCTION TO
$ whoami Software Developer @ toptal.com Co-organizer @ Opensanca
None
What is a test?
tests are a LOT of code to guarantee your production
code
Simple & Readable & Organized
3 things: ▸ Arrange ▸ Act ▸ Assert
Why tests?
Saving time and money
Confidence
None
Living documentation
TDD
None
Red
Green
Refactor
Test first vs TDD
Effective test suit ▸ Fast ▸ Complete ▸ Reliable ▸
Isolated ▸ Maintainable ▸ Expressive
Types of tests
None
None
Show me the code
RSpec
None
None
None
None
Four phase test
None
None
Factory Girl
None
None
None
None
None
None
None
None
None
None
test doubles (mock objects)
None
None
the problem?
None
None
None
None
Verifying double
None
None
mocks / stubs
Spy
None
the top of the Pyramid
Capybara
None
None
None
None
None
None
Page Object
None
External Services
None
None
VCR
None
CI
None
Anti Patterns
ANTIPATTERNS Anti Patterns ▸ Slow tests ▸ Intermittent tests
None
questions?