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
Jorge Ortiz: TDD for the Masses
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Realm
July 08, 2016
Technology
1
6.3k
Jorge Ortiz: TDD for the Masses
Realm
July 08, 2016
Tweet
Share
More Decks by Realm
See All by Realm
WWDC 2017 Review
realm
0
2.1k
Xcode shortcuts
realm
0
4.7k
Self Branding with GitHub
realm
0
4.3k
Realm Mobile Platform overview and demo
realm
0
2.1k
Realm advanced topics and demo
realm
0
2k
Realm introduction Seoul meetup 10
realm
0
2.2k
Stuart Hall: How I got 2.3 Million App Downloads
realm
0
1.9k
James Majors: What the Swiftly Func?
realm
1
4.3k
Simina Pasat: Continuous everything for iOS apps
realm
0
650
Other Decks in Technology
See All in Technology
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
190
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.2k
OpenShiftでllm-dを動かそう!
jpishikawa
0
130
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
260
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
17k
配列に見る bash と zsh の違い
kazzpapa3
3
160
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.5k
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
370
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
230
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
200
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
100
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
360
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
660
Designing for humans not robots
tammielis
254
26k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
69
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
67
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
Between Models and Reality
mayunak
1
190
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
100
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
Transcript
TDD for the Masses Jorge D. Ortiz-Fuentes @jdortiz #TDD4Masses
A Canonical Examples production #TDD4Masses
Legal disclaimer
– YOU “I know how to write unit tests”
– YOU “My name is ____ and I don't always
write tests for my code”
Tests are for the model No
#TDD4Masses Agenda ̣ TDD ̣ Unit testing a Table View
Controller from scratch ̣ Get it to run
Win or Fail!
MVP intro
MVP View Presenter Model display orders events fetch/change data
3min TDD Crash Course
Do you test FIRST?
#TDD4Masses FIRST ̣ Fast ̣ Isolated ̣ Repeatable ̣ Self-verifiable
̣ Timely
Do you test FIRST?
#TDD4Masses TDD Dance ̣ Red ̣ Green ̣ Refactor Write
test ❌ Write simplest code to pass test ✅ Improve code Choose next functionality Loop until done
#TDD4Masses Simplest Code ̣ Hard coded ̣ Closer to the
beginning of scope ̣ Less indented ̣ Shorter Credit Ray Osherove
Demo
#TDD4Masses Recap ̣ Red, Green, and Refactor ̣ Add min
amount of code to pass ̣ TDD is not only possible, but useful&cool! ̣ Great coverage ̣ Views can be tested ̣ Good architecture helps
http://bit.ly/TDD- CmdU
Thank you!
@jdortiz #TDD4Masses