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
Carlos Eduardo Ribeiro
July 16, 2020
Programming
0
62
Testes Automatizados para Web - Uma Introdução
Carlos Eduardo Ribeiro
July 16, 2020
Tweet
Share
More Decks by Carlos Eduardo Ribeiro
See All by Carlos Eduardo Ribeiro
Uma introdução em perfomance de Aplicações Web para impactar positivamente a vida de seus usuários
duduribeiro
0
37
Vim inside VSCode
duduribeiro
0
18
Continuous Delivery - On the real world
duduribeiro
0
81
An Introduction to Automated Web Testing
duduribeiro
3
58
Continuous Delivery
duduribeiro
0
36
Agility Through Continuous Delivery
duduribeiro
0
42
Hello Ruby
duduribeiro
2
58
Other Decks in Programming
See All in Programming
Slackワークフローで感謝を伝える機能/WiFi 自動接続/Figma to React Component/障害レポート君 Team3@NOT A HOTEL
nakaohiroshi
0
110
スタックトレース始めてみた
kuro_kurorrr
5
1.1k
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
620
Amazon Aurora Serverless v2が意外と高かった話と、AWS Database Migration Serviceの話
satoshi256kbyte
1
110
otelcol receiver 自作RTA / Pepabo Tech Conference #22 春のSREまつり
arthur1
0
980
GoでParserを書く
karupanerura
3
390
Try creating your own orderedmap
kazamori
1
280
Sheets API使ってみた
toshi0383
2
180
Long journey of Ruby standard library RubyKaigi 2024
andpad
2
230
PHPコードの実行モデルを理解する / Understanding-the-PHP-Execution-Model
shin1x1
0
1.1k
株式会社ゼネテック
genetec
0
120
Enjoy Creative Coding with Ruby (RubyKaigi2024)
chobishiba
0
710
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
32
47k
Adopting Sorbet at Scale
ufuk
69
8.6k
The Pragmatic Product Professional
lauravandoore
26
5.9k
Producing Creativity
orderedlist
PRO
338
39k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
How to train your dragon (web standard)
notwaldorf
75
5.2k
Designing the Hi-DPI Web
ddemaree
276
33k
Thoughts on Productivity
jonyablonski
60
3.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
It's Worth the Effort
3n
180
27k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
84
45k
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