Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Testes Automatizados para Web - Uma Introdução
Search
Cadu Ribeiro
July 16, 2020
Programming
89
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testes Automatizados para Web - Uma Introdução
Cadu Ribeiro
July 16, 2020
More Decks by Cadu Ribeiro
See All by Cadu Ribeiro
DevContainers: Facilitando o Setup de ambientes de desenvolvimento
duduribeiro
0
61
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
63
Vim inside VSCode
duduribeiro
0
46
Continuous Delivery - On the real world
duduribeiro
0
130
An Introduction to Automated Web Testing
duduribeiro
3
100
Continuous Delivery
duduribeiro
0
84
Agility Through Continuous Delivery
duduribeiro
0
72
Hello Ruby
duduribeiro
2
110
Other Decks in Programming
See All in Programming
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
190
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
170
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
180
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
350
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.8k
AI-Powered Domain-Driven Design
ziobrando
0
390
ChromeでローカルLLM
ryu1013
0
200
Getting Started with Vibe Coding
miccheng
0
180
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
330
Next.js: The final boss of Web Performance
guaca
0
380
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
150
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Raft: Consensus for Rubyists
vanstee
143
7.8k
Code Review Best Practice
trishagee
74
20k
Speed Design
sergeychernyshev
33
2.2k
A better future with KSS
kneath
240
18k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Done Done
chrislema
187
17k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
520
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
330
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
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