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
72
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
46
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
70
Vim inside VSCode
duduribeiro
0
30
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
73
Other Decks in Programming
See All in Programming
Introduction to Git & GitHub
latte72
0
110
新世界の理解
koriym
0
140
STUNMESH-go: Wireguard NAT穿隧工具的源起與介紹
tjjh89017
0
380
AIレビュアーをスケールさせるには / Scaling AI Reviewers
technuma
2
200
kiroでゲームを作ってみた
iriikeita
0
170
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
3
2.2k
React 使いじゃなくても知っておきたい教養としての React
oukayuka
18
5.7k
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
370
Reactの歴史を振り返る
tutinoko
1
180
自作OSでDOOMを動かしてみた
zakki0925224
1
1.4k
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
150
Featured
See All Featured
Bash Introduction
62gerente
614
210k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
How STYLIGHT went responsive
nonsquared
100
5.7k
The Cost Of JavaScript in 2023
addyosmani
53
8.8k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Rails Girls Zürich Keynote
gr2m
95
14k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
810
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?