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
65
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
28
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
67
Vim inside VSCode
duduribeiro
0
21
Continuous Delivery - On the real world
duduribeiro
0
87
Continuous Delivery
duduribeiro
0
39
Agility Through Continuous Delivery
duduribeiro
0
48
Hello Ruby
duduribeiro
2
65
Other Decks in Programming
See All in Programming
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
230
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
160
PRレビューのお供にDanger
stoticdev
1
240
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
1.5k
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
1
640
Datadog Workflow Automation で圧倒的価値提供
showwin
1
290
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
140
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
310
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
390
新宿駅構内を三人称視点で探索してみる
satoshi7190
2
120
自力でTTSモデルを作った話
zgock999
0
120
Jakarta EE meets AI
ivargrimstad
0
570
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
41
2.5k
We Have a Design System, Now What?
morganepeng
51
7.4k
The Pragmatic Product Professional
lauravandoore
32
6.4k
The Cost Of JavaScript in 2023
addyosmani
47
7.4k
The Cult of Friendly URLs
andyhume
78
6.2k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
580
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
Building Adaptive Systems
keathley
40
2.4k
Designing for Performance
lara
605
68k
Adopting Sorbet at Scale
ufuk
75
9.2k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
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?