Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
An Introduction to Automated Web Testing
Search
Cadu Ribeiro
October 12, 2017
Programming
100
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
An Introduction to Automated Web Testing
Cadu Ribeiro
October 12, 2017
Transcript
77 slides
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?
More Decks by Cadu Ribeiro
See All by Cadu Ribeiro
DevContainers: Facilitando o Setup de ambientes de desenvolvimento
duduribeiro
0
65
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
65
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
90
Vim inside VSCode
duduribeiro
0
48
Continuous Delivery - On the real world
duduribeiro
0
130
Continuous Delivery
duduribeiro
0
86
Agility Through Continuous Delivery
duduribeiro
0
75
Hello Ruby
duduribeiro
2
110
Other Decks in Programming
See All in Programming
SODA - FACT BOOK(EN)
sodainc
1
290
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
830
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
340
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
LLM 101
dalinaum
0
540
Promiseの向こう側へコンテキストを届ける ― proposal-async-context
seriseri
0
150
joyful-journey-spring-boot.pdf
hollycummins
0
120
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
640
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
210
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
190
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
300
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
8
2.4k
Featured
See All Featured
The Curse of the Amulet
leimatthew05
4
17k
How to make the Groovebox
asonas
2
2.6k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing Experiences People Love
moore
143
24k
Google's AI Overviews - The New Search
badams
0
1.7k
Statistics for Hackers
jakevdp
799
230k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
WCS-LA-2024
lcolladotor
0
1k
Marketing to machines
jonoalderson
1
6k