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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Cadu Ribeiro
October 12, 2017
Programming
88
3
Share
An Introduction to Automated Web Testing
Cadu Ribeiro
October 12, 2017
More Decks by Cadu Ribeiro
See All by Cadu Ribeiro
DevContainers: Facilitando o Setup de ambientes de desenvolvimento
duduribeiro
0
49
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
53
Testes Automatizados para Web - Uma Introdução
duduribeiro
0
78
Vim inside VSCode
duduribeiro
0
38
Continuous Delivery - On the real world
duduribeiro
0
120
Continuous Delivery
duduribeiro
0
69
Agility Through Continuous Delivery
duduribeiro
0
58
Hello Ruby
duduribeiro
2
89
Other Decks in Programming
See All in Programming
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
0
450
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
240
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
230
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
240
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
400
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
150
inferと仲良くなる10分間
ryokatsuse
1
260
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
1
530
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
2
370
LLM Plugin for Node-REDの利用方法と開発について
404background
0
120
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
200
要はバランスからの卒業 #yumemi_grow
kajitack
0
200
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.1k
Making Projects Easy
brettharned
120
6.6k
Building Adaptive Systems
keathley
44
3k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
130
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
150
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Raft: Consensus for Rubyists
vanstee
141
7.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Curse of the Amulet
leimatthew05
1
12k
Darren the Foodie - Storyboard
khoart
PRO
3
3.3k
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?