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
0
70
Testes Automatizados para Web - Uma Introdução
Cadu Ribeiro
July 16, 2020
Tweet
Share
More Decks by Cadu Ribeiro
See All by Cadu Ribeiro
DevContainers: Facilitando o Setup de ambientes de desenvolvimento
duduribeiro
0
38
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
46
Vim inside VSCode
duduribeiro
0
30
Continuous Delivery - On the real world
duduribeiro
0
91
An Introduction to Automated Web Testing
duduribeiro
3
72
Continuous Delivery
duduribeiro
0
44
Agility Through Continuous Delivery
duduribeiro
0
53
Hello Ruby
duduribeiro
2
73
Other Decks in Programming
See All in Programming
「リーダーは意思決定する人」って本当?~ 学びを現場で活かす、リーダー4ヶ月目の試行錯誤 ~
marina1017
0
230
AIレビュアーをスケールさせるには / Scaling AI Reviewers
technuma
2
200
MCP連携で加速するAI駆動開発/mcp integration accelerates ai-driven-development
bpstudy
0
300
Understanding Kotlin Multiplatform
l2hyunwoo
0
260
生成AI、実際どう? - ニーリーの場合
nealle
0
130
Introduction to Git & GitHub
latte72
0
110
Reactの歴史を振り返る
tutinoko
1
180
ライブ配信サービスの インフラのジレンマ -マルチクラウドに至ったワケ-
mirrativ
1
240
CEDEC 2025 『ゲームにおけるリアルタイム通信への QUIC導入事例の紹介』
segadevtech
3
890
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
500
Scale out your Claude Code ~自社専用Agentで10xする開発プロセス~
yukukotani
9
2.3k
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Scaling GitHub
holman
462
140k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Rails Girls Zürich Keynote
gr2m
95
14k
Into the Great Unknown - MozCon
thekraken
40
2k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
890
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
RailsConf 2023
tenderlove
30
1.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
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