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
1º Encontro do Grupo de Testes Carioca - Primei...
Search
Stefan Teixeira
December 08, 2015
Programming
54
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
1º Encontro do Grupo de Testes Carioca - Primeiros Passos em Automação de Testes
Palestra apresentada no 1º Encontro do GTC, no dia 08/12/15.
Stefan Teixeira
December 08, 2015
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
93
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
120
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
78
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
66
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
52
TDC 2016 SP - Desmistificando cobertura de código como métrica de qualidade
stefanteixeira
0
140
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
97
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
82
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
74
Other Decks in Programming
See All in Programming
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.3k
すこし踏み込む CancellationToken
htkym
2
1.4k
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
140
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
220
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
560
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
300
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
140
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
460
Webの地図
yosuke_furukawa
PRO
6
4.9k
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
680
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
230
アクセシビリティから考える情報設計
high_g_engineer
0
420
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
460
Scaling GitHub
holman
464
140k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
Between Models and Reality
mayunak
4
470
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
540
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Optimizing for Happiness
mojombo
378
71k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Transcript
Primeiros Passos em Automação de Testes Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com
About me Stefan Teixeira • QA Engineer @ M4U •
Entusiasta de Automação de Testes, Agile Testing e DevOps • Blogs técnicos: stefanteixeira.com.br (pt-br) / stefanteixeira.com (en) Contatos: • E-mail:
[email protected]
• Twitter: twitter.com/stefan_teixeira • Facebook: facebook.com/stefan.teixeira • LinkedIn: linkedin.com/in/stefanteixeira • GitHub: github.com/stefanteixeira • SlideShare: slideshare.net/stefanteixeira
Vocês automatizam testes?
Estágios iniciais de automação
Automação hardcore
Pirâmide de Automação de Testes
Pirâmide de Automação de Testes Mike Cohn - Succeeding With
Agile
None
Cuidado!
Testes de UI são mais lentos!
Anti-patterns
None
None
Tempo de feedback
E quando o feedback é lento? • Perda de confiança
do time
E quando o feedback é lento? • Perda de confiança
do time • Time deixa de rodar os testes
E quando o feedback é lento? • Perda de confiança
do time • Time deixa de rodar os testes
Importância do tempo de build/feedback • XP (Extreme Programming) ➡
10-minute build
Importância do tempo de build/feedback • XP (Extreme Programming) ➡
10-minute build • James Shore (The Art of Agile Development) ➡ 10 or 15-minute build
“That's about the right amount of time to stretch my
legs, get some coffee, and talk over our work with my pairing partner.” - James Shore, The Art of Agile Development
None
Testes de Unidade • Rodam MUITO rápido = feedback mais
rápido!
Testes de Unidade • Rodam MUITO rápido = feedback mais
rápido! • Ótimos para testar valores limite ou combinações de desvios no código
Testes de Unidade • Boa quantidade e cobertura de testes
= menor necessidade de testes exaustivos pela UI
Testes de Unidade • Boa quantidade e cobertura de testes
= menor necessidade de testes exaustivos pela UI • Te oferecerem segurança para introduzir mudanças (safety net)
Cobertura de código: dicas • “High coverage numbers are too
easy to reach with low quality testing” (Martin Fowler)
Cobertura de código: dicas • “High coverage numbers are too
easy to reach with low quality testing” (Martin Fowler) • Cobertura alta != bons testes
Cobertura de código: dicas • “High coverage numbers are too
easy to reach with low quality testing” (Martin Fowler) • Cobertura alta != bons testes • Você pode ter 100% de cobertura sem nenhum assert nos testes!
Ferramentas
None
Testes no nível de Serviço • Preencher o gap entre
Unidade e UI
Testes no nível de Serviço • Preencher o gap entre
Unidade e UI • Testar regras de negócio “abaixo” da UI, sem depender da interface (Web, Mobile, Desktop)
Testes no nível de Serviço • Preencher o gap entre
Unidade e UI • Testar regras de negócio “abaixo” da UI, sem depender da interface (Web, Mobile, Desktop) • Subcutaneous Tests (Martin Fowler)
Testes no nível de Serviço: Tipos • Testes de Componente
/ Integração
Testes no nível de Serviço: Tipos • Testes de Componente
/ Integração • Testes de WebServices / APIs
Testes no nível de Serviço: Tipos • Testes de Componente
/ Integração • Testes de WebServices / APIs • Testes de Contrato
Ferramentas
None
Testes pela UI • Mais lentos/frágeis, feedback lento
Testes pela UI • Mais lentos/frágeis, feedback lento • Ponto
de vista do usuário final
Testes pela UI • Mais lentos/frágeis, feedback lento • Ponto
de vista do usuário final • Focar nos cenários mais importantes
Testes pela UI: Tipos • Cross Browser Testing
• Cross Browser Testing • Headless Testing Testes pela UI:
Tipos
• Cross Browser Testing • Headless Testing • Visual Regression
Testing Testes pela UI: Tipos
Visual Regression Testing: como é?
Ferramentas: xBrowser/ Headless Testing
Ferramentas: Mobile UI Testing
Ferramentas: Visual Regression Testing
Hands-on
• Projeto de exemplo: https:/ / github.com/stefanteixeira/ primeiros-passos-automacao- testes •
JUnit + REST-Assured + Selenium Webdriver Hands-on
Livros Recomendados
Obrigado! Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com