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
74
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
34
Continuous Delivery - On the real world
duduribeiro
0
110
An Introduction to Automated Web Testing
duduribeiro
3
80
Continuous Delivery
duduribeiro
0
60
Agility Through Continuous Delivery
duduribeiro
0
54
Hello Ruby
duduribeiro
2
78
Other Decks in Programming
See All in Programming
AIコーディングエージェント(Manus)
kondai24
0
220
これならできる!個人開発のすゝめ
tinykitten
PRO
0
130
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
270
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
TestingOsaka6_Ozono
o3
0
180
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
200
AIエージェントの設計で注意するべきポイント6選
har1101
5
2.5k
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
170
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
5
1.3k
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
160
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
290
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
140
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
350
Measuring & Analyzing Core Web Vitals
bluesmoon
9
710
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
52
Bash Introduction
62gerente
615
210k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Skip the Path - Find Your Career Trail
mkilby
0
27
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
210
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
720
Practical Orchestrator
shlominoach
190
11k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
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