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
Self-testing Code
Search
Rogério Chaves
February 18, 2015
Technology
90
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Self-testing Code
A little about automated tests
Rogério Chaves
February 18, 2015
Transcript
15 slides
SELF-TESTING CODE
WHAT IS THIS? 2
MOST COMMON TYPES OF TEST 3 Unit Tests Integration Tests
Acceptance Tests
OTHER TYPES OF TESTS •Compiler •Lint •Smoke Tests •Contract Tests
•Coverage Test •Performance Tests 4
TEST PYRAMID 5 Unit Tests Integration Tests Acceptance Tests
PIPELINE 6 Fast feedback Integration Acceptance Deploy
MOCKS 7
WHAT IS TDD? 8 Test Fail Code Pass Refactor
TESTING FRAMEWORKS 9
EXAMPLES 10
EXAMPLES 11
EXAMPLES 12
TEST RUNNERS 13 Guard::Test
LIVE CODING 14
THANK YOU
More Decks by Rogério Chaves
See All by Rogério Chaves
O problema das Fake News
rogeriochaves
1
210
A Brief History of Frontend
rogeriochaves
1
94
Implementando PWA em qualquer projeto
rogeriochaves
2
230
Microfrontends
rogeriochaves
2
160
Introducción a Elm
rogeriochaves
0
87
Immutable App Architecture
rogeriochaves
0
250
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
530
Introduction to Elm
rogeriochaves
2
170
Single State Atom apps
rogeriochaves
1
210
Other Decks in Technology
See All in Technology
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
180
Taking back control of your AI development
inesmontani
PRO
0
320
対話 AI プラットフォーム「アイブリー」で実践する自然言語処理と事業開発
ivry_presentationmaterials
0
140
Kiro Enterprise Management: 管理者が 1 か所で決め、全員の Kiro に届ける
inariku
PRO
1
160
AIフレンドリーなGenerative UIをJSXで
uhyo
2
870
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
480
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
AI時代のTechLeadの問い〜Tech Lead Conference 2026 Autumn / questions-for-tech-leads-in-the-age-of-ai
haru860
0
100
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
1.1k
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
260
本の挿絵に困ったから挿絵メーカーを自作した
yoshimura_datam
1
120
kubellの最新データ分析環境
kubell_hr
2
290
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Navigating Weather and Climate Data
rabernat
0
610
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Well, that’s weird…
csswizardry
3
250
Writing Fast Ruby
sferik
630
63k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Speed Design
sergeychernyshev
33
2.3k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Designing Powerful Visuals for Engaging Learning
tmiket
1
670
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k