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
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
66
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
62
Mobile Application Security
hyperjump
3
58
Storage for the WEB
hyperjump
4
80
Other Decks in Programming
See All in Programming
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
150
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
110
初めての模倣学習とVLA
natsutan
0
490
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
590
XHTMLが残したもの
yosuke_furukawa
PRO
2
420
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
260
What We Talk About When We Talk About XP
m_seki
2
370
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
750
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
120
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
500
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
160
自分的「カンファレンスの楽しみ方」
syumai
0
190
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
1
640
Un-Boring Meetings
codingconduct
0
410
Practical Orchestrator
shlominoach
191
12k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
Building a Scalable Design System with Sketch
lauravandoore
463
34k
ラッコキーワード サービス紹介資料
rakko
1
4.8M
Prompt Engineering for Job Search
mfonobong
0
440
Odyssey Design
rkendrick25
PRO
2
800
Facilitating Awesome Meetings
lara
57
7.1k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Darren the Foodie - Storyboard
khoart
PRO
3
3.9k
4 Signs Your Business is Dying
shpigford
187
23k
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/