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
Hyperjump Tech
May 07, 2021
Programming
3
33
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
55
Pull Request, Make & Review
hyperjump
3
40
Next.JS
hyperjump
3
21
Pull Request
hyperjump
3
16
IT Process & Delivery
hyperjump
3
21
Trunk Based Development
hyperjump
3
56
Develop NPM Package Locally
hyperjump
3
45
Mobile Application Security
hyperjump
3
47
Storage for the WEB
hyperjump
4
48
Other Decks in Programming
See All in Programming
generative-ai-use-cases(GenU)の推しポイント ~2025年4月版~
hideg
1
360
The Nature of Complexity in John Ousterhout’s Philosophy of Software Design
philipschwarz
PRO
0
150
RubyKaigi Dev Meeting 2025
tenderlove
1
920
Qiita Bash
mercury_dev0517
2
220
On-the-fly Suggestions of Rewriting Method Deprecations
ohbarye
1
4.3k
Flutterでllama.cppをつかってローカルLLMを試してみた
sakuraidayo
0
110
音声プラットフォームのアーキテクチャ変遷から学ぶ、クラウドネイティブなバッチ処理 (20250422_CNDS2025_Batch_Architecture)
thousanda
0
370
「影響が少ない」を自分の目でみてみる
o0h
PRO
3
1.3k
カウシェで Four Keys の改善を試みた理由
ike002jp
1
120
KANNA Android の技術的課題と取り組み
watabee
0
160
大LLM時代にこの先生きのこるには-ITエンジニア編
fumiyakume
7
3.3k
GitHub Copilot for Azureを使い倒したい
ymd65536
1
280
Featured
See All Featured
For a Future-Friendly Web
brad_frost
177
9.7k
Building Adaptive Systems
keathley
41
2.5k
Fireside Chat
paigeccino
37
3.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Done Done
chrislema
184
16k
Embracing the Ebb and Flow
colly
85
4.7k
Product Roadmaps are Hard
iamctodd
PRO
52
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
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/