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
74
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
39
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
47
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
73
Vim inside VSCode
duduribeiro
0
32
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
75
Other Decks in Programming
See All in Programming
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
180
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
3
690
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
310
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
3.4k
チームの境界をブチ抜いていけ
tokai235
0
190
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
730
その面倒な作業、「Dart」にやらせませんか? Flutter開発者のための業務効率化
yordgenome03
1
130
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
250
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
6.9k
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
300
XP, Testing and ninja testing ZOZ5
m_seki
3
740
iOSでSVG画像を扱う
kishikawakatsumi
0
130
Featured
See All Featured
Navigating Team Friction
lara
190
15k
The Cost Of JavaScript in 2023
addyosmani
55
9k
How to Think Like a Performance Engineer
csswizardry
27
2.1k
4 Signs Your Business is Dying
shpigford
185
22k
It's Worth the Effort
3n
187
28k
A Tale of Four Properties
chriscoyier
161
23k
For a Future-Friendly Web
brad_frost
180
10k
The Cult of Friendly URLs
andyhume
79
6.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
620
Fireside Chat
paigeccino
40
3.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
35
6.1k
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?