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
Test Driven Development
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hyperjump Tech
May 07, 2021
Programming
3
37
Test Driven Development
Explain how TDD is actually happening in a real programming case.
Hyperjump Tech
May 07, 2021
Tweet
Share
More Decks by Hyperjump Tech
See All by Hyperjump Tech
Web Development Tips
hyperjump
3
59
Pull Request, Make & Review
hyperjump
3
43
Next.JS
hyperjump
3
24
Pull Request
hyperjump
3
22
IT Process & Delivery
hyperjump
3
33
Trunk Based Development
hyperjump
3
61
Develop NPM Package Locally
hyperjump
3
51
Mobile Application Security
hyperjump
3
52
Storage for the WEB
hyperjump
4
64
Other Decks in Programming
See All in Programming
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
6
1.9k
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
150
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
Fluid Templating in TYPO3 14
s2b
0
130
Oxlint JS plugins
kazupon
1
600
Architectural Extensions
denyspoltorak
0
270
Oxlintはいいぞ
yug1224
5
1.3k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
620
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
140
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
190
Featured
See All Featured
HDC tutorial
michielstock
1
360
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
Making the Leap to Tech Lead
cromwellryan
135
9.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
180
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
820
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
First, design no harm
axbom
PRO
2
1.1k
Transcript
Test Driven Development
What is TDD ?
The Red/Green/Refactor Cycle Refactor and clean the code Write test
and watch it fails Write minimal code that makes that test pass
None
Write test.
None
None
None
None
Run test, watch it fails.
None
Write minimal code, pass the test.
None
Run test, watch it fails.
None
Write minimal code, pass the test.
None
Run test, watch it fails.
None
Refactor is the key
None
None
None
Run test, watch it fails.
None
Write minimal code, pass the test.
None
Run test, watch it fails.
None
Write minimal code, pass the test.
None
Run test, watch it fails.
None
Even more refactor.
None
Run test, watch it fails.
None
Write minimal code, pass the test.
None
Run test, watch it fails.
None
Ship code to production.
None
Refactor is the key, remember?
Refactoring is a disciplined technique for restructuring an existing body
of code, altering its internal structure without changing its external behavior. - Martin Fowler
None
Run test, watch it fails.
None
Why should we use TDD ?
TDD start with the end of mind, and walks you
through what is the next step you have to do to get the code working
None
None
None
None
75% of a developer’s time is spent on debugging
TDD eradicates fear of change - Eric Elliott
40%-80% fewer bugs in production* *https:/ /www.researchgate.net/publication/3249271_Guest_Editors'_Introduction_TDD--The_Art_ of_Fearless_Programming
Source https://www.codecademy.com/articles/tdd-red- green-refactor https://blog.cleancoder.com/uncle-bob/2014/1 2/17/TheCyclesOfTDD.html https://medium.com/javascript-scene/tdd-chan ged-my-life-5af0ce099f80 https://coralogix.com/log-analytics-blog/this-is- what-your-developers-are-doing-75-of-the-time -and-this-is-the-cost-you-pay/
https://pixabay.com/vectors/wow-bang-explosi on-pow-blast-155268/ https://heeris.id.au/2013/this-is-why-you-shoul dnt-interrupt-a-programmer/