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
Self-testing Code
Search
Rogério Chaves
February 18, 2015
Technology
1
78
Self-testing Code
A little about automated tests
Rogério Chaves
February 18, 2015
Tweet
Share
More Decks by Rogério Chaves
See All by Rogério Chaves
O problema das Fake News
rogeriochaves
1
190
A Brief History of Frontend
rogeriochaves
1
53
Implementando PWA em qualquer projeto
rogeriochaves
2
210
Microfrontends
rogeriochaves
2
140
Introducción a Elm
rogeriochaves
0
74
Immutable App Architecture
rogeriochaves
0
230
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
500
Introduction to Elm
rogeriochaves
2
150
Single State Atom apps
rogeriochaves
1
180
Other Decks in Technology
See All in Technology
20260321_エンベディングってなに?RAGってなに?エンベディングの説明とGemini Embedding 2 の紹介
tsho
0
110
Claude Code 2026年 最新アップデート
oikon48
14
11k
WebアクセシビリティをCI/CDで担保する ― axe DevTools × Playwright C#実践ガイド
tomokusaba
2
180
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
180
ABEMAのバグバウンティの取り組み
kurochan
1
120
AI時代のSaaSとETL
shoe116
1
190
Microsoft “Adaptive Cloud” Update 2026年3月版
sdosamut
0
100
「お金で解決」が全てではない!大規模WebアプリのCI高速化 #phperkaigi
stefafafan
3
1.4k
2026年もソフトウェアサプライチェーンのリスクに立ち向かうために / Product Security Square #3
flatt_security
1
680
TypeScript 7.0の現在地と備え方
uhyo
7
1.9k
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
460
Mitigating geopolitical risks with local-first software and atproto
ept
0
120
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
560
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
78
Balancing Empowerment & Direction
lara
5
950
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
190
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
90
WENDY [Excerpt]
tessaabrams
9
36k
Evolving SEO for Evolving Search Engines
ryanjones
0
160
Git: the NoSQL Database
bkeepers
PRO
432
66k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.1k
Become a Pro
speakerdeck
PRO
31
5.9k
Transcript
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