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
94
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
More Decks by Cadu Ribeiro
See All by Cadu Ribeiro
DevContainers: Facilitando o Setup de ambientes de desenvolvimento
duduribeiro
0
57
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
60
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
83
Vim inside VSCode
duduribeiro
0
44
Continuous Delivery - On the real world
duduribeiro
0
120
Continuous Delivery
duduribeiro
0
80
Agility Through Continuous Delivery
duduribeiro
0
65
Hello Ruby
duduribeiro
2
100
Other Decks in Programming
See All in Programming
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
Hono + Inertia + React で LP を構築した話
oukayuka
2
220
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
130
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
1.5k
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
870
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
230
Go 1.27からのGODEBUG / Go 1.27 リリースパーティ #go127party
mazrean
0
320
ソフトウェアラスタライザ
fadis
1
790
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
高専キャリア LT 発表内容
crysta1221
6
5.6k
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
typoなんかねぇよ
raspython3
0
670
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Navigating Weather and Climate Data
rabernat
0
510
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Between Models and Reality
mayunak
4
450
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Statistics for Hackers
jakevdp
799
230k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
A designer walks into a library…
pauljervisheath
211
25k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Product Roadmaps are Hard
iamctodd
55
13k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
270
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?