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
27
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
39
Agility Through Continuous Delivery
duduribeiro
0
47
Hello Ruby
duduribeiro
2
64
Other Decks in Programming
See All in Programming
.NET Frameworkでも汎用ホストが使いたい!
tomokusaba
0
200
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
150
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
860
Rubyと自由とAIと
yotii23
6
1.8k
Jakarta EE meets AI
ivargrimstad
0
360
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
1
210
Domain-Driven Transformation
hschwentner
2
1.9k
CloudNativePGを布教したい
nnaka2992
0
110
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
230
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
5
1k
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
310
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
150
Featured
See All Featured
Faster Mobile Websites
deanohume
306
31k
For a Future-Friendly Web
brad_frost
176
9.6k
Building Applications with DynamoDB
mza
93
6.2k
Speed Design
sergeychernyshev
27
810
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
How STYLIGHT went responsive
nonsquared
98
5.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
570
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
GitHub's CSS Performance
jonrohan
1030
460k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
Side Projects
sachag
452
42k
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?