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
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
84
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
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
210
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
180
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
230
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
500
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
5
970
TipKitTips
ktcryomm
0
170
「抽象に依存せよ」が分からなかった新卒1年目の私が Goのインターフェースと和解するまで
kurogenki
0
110
モダンOBSプラグイン開発
umireon
0
110
OTP を自動で入力する裏技
megabitsenmzq
0
100
How to stabilize UI tests using XCTest
akkeylab
0
120
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
370
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
430
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
110
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
51k
30 Presentation Tips
portentint
PRO
1
250
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
470
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Between Models and Reality
mayunak
2
230
Automating Front-end Workflow
addyosmani
1370
200k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Why Our Code Smells
bkeepers
PRO
340
58k
4 Signs Your Business is Dying
shpigford
187
22k
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