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
Test Driven Development
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hyperjump Tech
May 07, 2021
Programming
47
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Test Driven Development
Explain how TDD is actually happening in a real programming case.
Hyperjump Tech
May 07, 2021
More Decks by Hyperjump Tech
See All by Hyperjump Tech
Web Development Tips
hyperjump
3
67
Pull Request, Make & Review
hyperjump
3
57
Next.JS
hyperjump
3
33
Pull Request
hyperjump
3
29
IT Process & Delivery
hyperjump
3
54
Trunk Based Development
hyperjump
3
67
Develop NPM Package Locally
hyperjump
3
63
Mobile Application Security
hyperjump
3
58
Storage for the WEB
hyperjump
4
80
Other Decks in Programming
See All in Programming
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
520
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
460
setup-vp GitLab対応の裏側
naokihaba
0
140
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
580
Are APIs Still Relevant in the AI Era?
soyuka
0
380
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
260
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
240
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
180
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
1k
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
320
Featured
See All Featured
Test your architecture with Archunit
thirion
2
2.4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
WENDY [Excerpt]
tessaabrams
14
40k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
Side Projects
sachag
456
43k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
290
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
420
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
430
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/