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
66
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
27
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
42
Vim inside VSCode
duduribeiro
0
20
Continuous Delivery - On the real world
duduribeiro
0
86
An Introduction to Automated Web Testing
duduribeiro
3
64
Continuous Delivery
duduribeiro
0
38
Agility Through Continuous Delivery
duduribeiro
0
47
Hello Ruby
duduribeiro
2
64
Other Decks in Programming
See All in Programming
Rails アプリ地図考 Flush Cut
makicamel
1
120
『品質』という言葉が嫌いな理由
korimu
0
160
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
120
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1k
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
仕様変更に耐えるための"今の"DRY原則を考える / Rethinking the "Don't repeat yourself" for resilience to specification changes
mkmk884
2
520
GAEログのコスト削減
mot_techtalk
0
120
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
910
Amazon ECS とマイクロサービスから考えるシステム構成
hiyanger
2
570
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
6
4k
Serverless Rust: Your Low-Risk Entry Point to Rust in Production (and the benefits are huge)
lmammino
1
110
Lottieアニメーションをカスタマイズしてみた
tahia910
0
130
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
410
Statistics for Hackers
jakevdp
797
220k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
Code Review Best Practice
trishagee
67
18k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Unsuck your backbone
ammeep
669
57k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
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