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
68
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
30
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
44
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
69
Vim inside VSCode
duduribeiro
0
22
Continuous Delivery - On the real world
duduribeiro
0
90
Continuous Delivery
duduribeiro
0
42
Agility Through Continuous Delivery
duduribeiro
0
51
Hello Ruby
duduribeiro
2
68
Other Decks in Programming
See All in Programming
5年間継続して開発した自作OSSの記録
bebeji_nappa
0
160
Java 24まとめ / Java 24 summary
kishida
3
450
Being an ethical software engineer
xgouchet
PRO
0
200
PHPのガベージコレクションを深掘りしよう
rinchoku
0
260
エンジニア未経験が最短で戦力になるためのTips
gokana
0
260
国漢文混用体からHolloまで
minhee
1
160
Qiita Bash
mercury_dev0517
1
180
アーキテクトと美学 / Architecture and Aesthetics
nrslib
12
3.3k
The Weight of Data: Rethinking Cloud-Native Systems for the Age of AI
hollycummins
0
270
PHPバージョンアップから始めるOSSコントリビュート / how2oss-contribute
dmnlk
1
970
アプリを起動せずにアプリを開発して品質と生産性を上げる
ishkawa
0
2.5k
新卒から4年間、20年もののWebサービスと 向き合って学んだソフトウェア考古学
oguri
8
7.2k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
36
3.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Building Adaptive Systems
keathley
41
2.5k
Fireside Chat
paigeccino
37
3.4k
KATA
mclloyd
29
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
30k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
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?