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
89
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
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
88
Implementando PWA em qualquer projeto
rogeriochaves
2
230
Microfrontends
rogeriochaves
2
150
Introducción a Elm
rogeriochaves
0
84
Immutable App Architecture
rogeriochaves
0
240
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
530
Introduction to Elm
rogeriochaves
2
170
Single State Atom apps
rogeriochaves
1
200
Other Decks in Technology
See All in Technology
クラウドエージェントの先駆け Devin。今も最先端を走る、他との違い
kinopeee
1
520
これだけは抑えておきたい!後悔しない re:Invent の過ごし方 / AWS re:Invent 2026 prestudy
kinunori
2
590
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
670
今から始めるAWS環境の暗号移行 - ポスト量子時代に備える
sato4mi
0
130
"計画的無茶振り"を通してAIネイティブ世代の新人を育てる
subroh0508
1
130
新卒エンジニア、 介護士になる
ryu1013
1
590
ビジネス部門からPOを迎えての半年間の進歩と課題
zozotech
PRO
0
170
Deep Data Security 機能解説
oracle4engineer
PRO
3
970
攻撃 3 時間 vs 復旧 10 時間。アクセスキー流出の非対称性を体感するために CTF を作った話
kazzpapa3
1
100
AI Search (Foundry IQ) におけるRAGデータの準備と配置
ryomaru0825
1
100
Lint の層を組み直した話
bengo4com
1
260
アクセラレーターで実現するServiceNow活用の高速化 / ServiceNow World Forum 2026
visional_engineering_and_design
0
110
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
290
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
610
Fireside Chat
paigeccino
43
4.1k
Bash Introduction
62gerente
615
220k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
870
Game over? The fight for quality and originality in the time of robots
wayneb77
1
320
The agentic SEO stack - context over prompts
schlessera
0
990
Odyssey Design
rkendrick25
PRO
2
900
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