Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
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
50
Mobile Application Security
hyperjump
3
52
Storage for the WEB
hyperjump
4
61
Other Decks in Programming
See All in Programming
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
830
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
450
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
0
210
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
150
AIコードレビューがチームの"文脈"を 読めるようになるまで
marutaku
0
350
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
130
エディターってAIで操作できるんだぜ
kis9a
0
720
AIコーディングエージェント(NotebookLM)
kondai24
0
180
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
8
2.3k
Integrating WordPress and Symfony
alexandresalome
0
150
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
110
How Software Deployment tools have changed in the past 20 years
geshan
0
29k
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Designing for Performance
lara
610
69k
Statistics for Hackers
jakevdp
799
230k
A better future with KSS
kneath
240
18k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Docker and Python
trallard
47
3.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Building Applications with DynamoDB
mza
96
6.8k
The World Runs on Bad Software
bkeepers
PRO
72
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
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/