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
65
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
170
A Brief History of Frontend
rogeriochaves
1
39
Implementando PWA em qualquer projeto
rogeriochaves
2
190
Microfrontends
rogeriochaves
2
140
Introducción a Elm
rogeriochaves
0
70
Immutable App Architecture
rogeriochaves
0
210
Faça programação funcional com JavaScript codando menos
rogeriochaves
4
460
Introduction to Elm
rogeriochaves
2
140
Single State Atom apps
rogeriochaves
1
180
Other Decks in Technology
See All in Technology
ClaudeCode_vs_GeminiCLI_Terraformで比較してみた
tkikuchi
1
4.2k
サービスを止めるな! DDoS攻撃へのスマートな備えと最前線の事例
coconala_engineer
1
220
分散トレーシングによる コネクティッドカーのデータ処理見える化の試み
thatsdone
0
120
Talk to Someone At Delta Airlines™️ USA Contact Numbers
travelcarecenter
0
170
PHPでResult型やってみよう
higaki_program
0
180
Amazon SNSサブスクリプションの誤解除を防ぐ
y_sakata
3
200
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
830
AI時代にも変わらぬ価値を発揮したい: インフラ・クラウドを切り口にユーザー価値と非機能要件に向き合ってエンジニアとしての地力を培う
netmarkjp
0
200
20250719_JAWS_kobe
takuyay0ne
1
140
[SRE NEXT 2025] すみずみまで暖かく照らすあなたの太陽でありたい
carnappopper
2
850
Deep Security Conference 2025:生成AI時代のセキュリティ監視 /dsc2025-genai-secmon
mizutani
5
3.8k
Digitization部 紹介資料
sansan33
PRO
1
4.6k
Featured
See All Featured
Music & Morning Musume
bryan
46
6.7k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
The Cult of Friendly URLs
andyhume
79
6.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Faster Mobile Websites
deanohume
308
31k
The Cost Of JavaScript in 2023
addyosmani
51
8.6k
Scaling GitHub
holman
461
140k
Practical Orchestrator
shlominoach
189
11k
A designer walks into a library…
pauljervisheath
207
24k
The Pragmatic Product Professional
lauravandoore
35
6.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
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