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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Cadu Ribeiro
October 12, 2017
Programming
93
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
54
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
57
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
79
Vim inside VSCode
duduribeiro
0
40
Continuous Delivery - On the real world
duduribeiro
0
120
Continuous Delivery
duduribeiro
0
75
Agility Through Continuous Delivery
duduribeiro
0
62
Hello Ruby
duduribeiro
2
99
Other Decks in Programming
See All in Programming
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
170
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
17
8.6k
継続モナドとリアクティブプログラミング
yukikurage
2
240
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.7k
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
300
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
dRuby over BLE
makicamel
2
410
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
380
AIエージェントで 変わるAndroid開発環境
takahirom
1
300
OS アップデート対応の取り組み方がもっと共有されてほしい
andpad
0
110
Vite+ Unified Toolchain for the Web
naokihaba
0
420
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
190
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.6k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
The Invisible Side of Design
smashingmag
301
52k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
How to train your dragon (web standard)
notwaldorf
97
6.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Optimizing for Happiness
mojombo
378
71k
Ruling the World: When Life Gets Gamed
codingconduct
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?