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
Testes Automatizados para Web - Uma Introdução
Search
Cadu Ribeiro
July 16, 2020
Programming
76
0
Share
Testes Automatizados para Web - Uma Introdução
Cadu Ribeiro
July 16, 2020
More Decks by Cadu Ribeiro
See All by Cadu Ribeiro
DevContainers: Facilitando o Setup de ambientes de desenvolvimento
duduribeiro
0
47
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
51
Vim inside VSCode
duduribeiro
0
36
Continuous Delivery - On the real world
duduribeiro
0
110
An Introduction to Automated Web Testing
duduribeiro
3
85
Continuous Delivery
duduribeiro
0
62
Agility Through Continuous Delivery
duduribeiro
0
56
Hello Ruby
duduribeiro
2
81
Other Decks in Programming
See All in Programming
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
GitHubCopilotCLIをはじめよう.pdf
htkym
0
150
Liberating Ruby's Parser from Lexer Hacks
ydah
2
1.1k
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
540
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
330
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
3k
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
150
CDK Deployのための ”反響定位”
watany
4
770
2026_04_15_量子計算をパズルとして解く
hideakitakechi
0
110
tRPCの概要と少しだけパフォーマンス
misoton665
2
210
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
270
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
3
350
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
110
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
Designing Powerful Visuals for Engaging Learning
tmiket
1
340
How GitHub (no longer) Works
holman
316
150k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
190
4 Signs Your Business is Dying
shpigford
187
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How to train your dragon (web standard)
notwaldorf
97
6.6k
Transcript
testes automatizados para Web uma introdução
Carlos Ribeiro • software developer @ DNSimple • organizador Opensanca
•
[email protected]
• https:#//cadu.dev
o que é um teste?
testes são códigos para garantir o comportamento do seu código
None
None
como garantir o comportamento?
None
None
None
None
None
None
None
None
None
None
None
None
None
testes devem ser simples, legível e direto ao ponto
por quê?
economizar tempo e dinheiro
qualidade
evoluir rápido sem quebrar nada
confiança
None
documentação
TDD
o teste nos guia em como programar
None
None
None
None
None
None
None
None
None
None
na WEB
UI
UI
UI
UI
UI
UI
tipos de testes
pirâmide de testes
UI teste de UI
UI teste de Service (ou Integration Test)
UI teste de Unidade
None
sempre crie teste o mais abaixo da pirâmide que você
conseguir
None
None
None
o teste de Unidade
None
None
None
None
None
o teste de Service (Integration test)
UI teste de Service (ou Integration Test)
None
None
None
None
arrange
arrange act
arrange act assert
None
None
None
o teste de UI
passos para criar um Post • visitar a página de
cadastro de post • preencher o título • preencher o conteúdo • clicar no botão Cadastrar • verificar se o post foi cadastrado
convertendo para código
None
None
None
None
None
None
None
None
None