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
83
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
57
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
60
Vim inside VSCode
duduribeiro
0
44
Continuous Delivery - On the real world
duduribeiro
0
120
An Introduction to Automated Web Testing
duduribeiro
3
94
Continuous Delivery
duduribeiro
0
80
Agility Through Continuous Delivery
duduribeiro
0
65
Hello Ruby
duduribeiro
2
100
Other Decks in Programming
See All in Programming
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
0
240
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.8k
「AI時代、配布するPythonコードをどう守るか: 難読化の実験と判断軸」 #PyconJP2026
pkshadeck
PRO
2
170
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
55
36k
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
270
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
260
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
1.5k
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
2
500
一参加者から『中の人』へ 〜全通PHPerがブースに立って学んだ、カンファレンスを100倍楽しむコツ〜
wp_daisuke
0
120
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
230
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
750
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
130
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
Crafting Experiences
bethany
1
300
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
510
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
For a Future-Friendly Web
brad_frost
183
10k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
410
How to train your dragon (web standard)
notwaldorf
97
6.8k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
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