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
56
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
82
Vim inside VSCode
duduribeiro
0
43
Continuous Delivery - On the real world
duduribeiro
0
120
Continuous Delivery
duduribeiro
0
79
Agility Through Continuous Delivery
duduribeiro
0
65
Hello Ruby
duduribeiro
2
100
Other Decks in Programming
See All in Programming
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
2
340
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
170
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
220
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
580
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
4.9k
「人を評価する AI」の設計と実装
ryoyanara
0
220
Built Our Own Background Agent at LayerX
layerx
PRO
10
5.9k
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
490
運用ダッシュボードの設計を誰も教えてくれないのだけどみなさんどうしてるんですか? - チームに監視するという文化を根付かせるための第一歩を踏みたい -
satoshi256kbyte
1
140
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
160
170k Jobs a Day on GKE: Scaling Mercari's CI Platform - and What's Next for AI-Native Development
junyaokabe
0
120
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.8k
Designing for Timeless Needs
cassininazir
1
450
The Curious Case for Waylosing
cassininazir
1
470
Facilitating Awesome Meetings
lara
57
7.1k
Bash Introduction
62gerente
615
220k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Believing is Seeing
oripsolob
1
200
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
470
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
440
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
480
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
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?