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
Carlos Eduardo Ribeiro
October 12, 2017
Programming
3
57
An Introduction to Automated Web Testing
Carlos Eduardo Ribeiro
October 12, 2017
Tweet
Share
More Decks by Carlos Eduardo Ribeiro
See All by Carlos Eduardo Ribeiro
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
37
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
62
Vim inside VSCode
duduribeiro
0
18
Continuous Delivery - On the real world
duduribeiro
0
81
Continuous Delivery
duduribeiro
0
36
Agility Through Continuous Delivery
duduribeiro
0
42
Hello Ruby
duduribeiro
2
58
Other Decks in Programming
See All in Programming
Git Rebase
bkuhlmann
11
1.6k
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
180
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
100
パフォーマンスを求めてDBに機能を寄せる戦略
aoyagikouhei
0
110
Next.js App Router
quramy
12
1.9k
2 週間で Twitter Bot を作ってみた
contour_gara
0
790
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
330
Documentation for users with AsciiDoc and Antora
ahus1
0
370
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
2
210
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
410
Goのmultiple errorsについて (2024年4月版)
syumai
4
1.2k
Let's learn code review
riofujimon
2
600
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
43
6.8k
Ruby is Unlike a Banana
tanoku
96
10k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Making Projects Easy
brettharned
109
5.5k
It's Worth the Effort
3n
180
27k
How STYLIGHT went responsive
nonsquared
92
4.8k
Designing Experiences People Love
moore
136
23k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
How to name files
jennybc
65
93k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
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?