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
33
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
44
Vim inside VSCode
duduribeiro
0
23
Continuous Delivery - On the real world
duduribeiro
0
90
An Introduction to Automated Web Testing
duduribeiro
3
69
Continuous Delivery
duduribeiro
0
42
Agility Through Continuous Delivery
duduribeiro
0
52
Hello Ruby
duduribeiro
2
69
Other Decks in Programming
See All in Programming
Optimizing JRuby 10
headius
0
590
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
880
個人開発の学生アプリが企業譲渡されるまで
akidon0000
2
1.2k
Bedrock × Confluenceで簡単(?)社内RAG
iharuoru
1
130
20250426 GDGoC 合同新歓 - GDGoC のススメ
getty708
0
110
複雑なフォームの jotai 設計 / Designing jotai(state) for Complex Forms #layerx_frontend
izumin5210
6
1.6k
flutter_kaigi_mini_4.pdf
nobu74658
0
150
On-the-fly Suggestions of Rewriting Method Deprecations
ohbarye
3
5.4k
私のRubyKaigi 2025 Kaigi Effect / My RubyKaigi 2025 Kaigi Effect
chobishiba
1
110
note の Elasticsearch 更新系を支える技術
tchov
9
3.6k
ニーリーQAのこれまでとこれから
nealle
2
810
データと事例で振り返るDevin導入の"リアル" / The Realities of Devin Reflected in Data and Case Studies
rkaga
2
1.6k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
137
6.9k
Typedesign – Prime Four
hannesfritz
41
2.6k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
120
52k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Unsuck your backbone
ammeep
671
58k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
600
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
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