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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Cadu Ribeiro
July 16, 2020
Programming
0
75
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
45
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
50
Vim inside VSCode
duduribeiro
0
35
Continuous Delivery - On the real world
duduribeiro
0
110
An Introduction to Automated Web Testing
duduribeiro
3
82
Continuous Delivery
duduribeiro
0
61
Agility Through Continuous Delivery
duduribeiro
0
55
Hello Ruby
duduribeiro
2
79
Other Decks in Programming
See All in Programming
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
120
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
8
2k
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
330
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
180
CSC307 Lecture 13
javiergs
PRO
0
310
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
650
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
200
Ruby x Terminal
a_matsuda
5
510
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
130
CSC307 Lecture 14
javiergs
PRO
0
440
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
110
AIコーディングの理想と現実 2026 | AI Coding: Expectations vs. Reality 2026
tomohisa
0
790
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.2k
Statistics for Hackers
jakevdp
799
230k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Bash Introduction
62gerente
615
210k
How to make the Groovebox
asonas
2
2k
Navigating Weather and Climate Data
rabernat
0
130
The Curse of the Amulet
leimatthew05
1
9.3k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.4k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Ethics towards AI in product and experience design
skipperchong
2
210
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
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