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
64
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
26
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
42
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
66
Vim inside VSCode
duduribeiro
0
20
Continuous Delivery - On the real world
duduribeiro
0
86
Continuous Delivery
duduribeiro
0
38
Agility Through Continuous Delivery
duduribeiro
0
47
Hello Ruby
duduribeiro
2
64
Other Decks in Programming
See All in Programming
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
180
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
Beyond ORM
77web
11
1.6k
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.3k
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
220
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1.1k
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
170
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
1.9k
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
Featured
See All Featured
Making Projects Easy
brettharned
116
6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Building Applications with DynamoDB
mza
93
6.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Statistics for Hackers
jakevdp
797
220k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
870
Facilitating Awesome Meetings
lara
51
6.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Making the Leap to Tech Lead
cromwellryan
133
9k
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?