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
TDD is not slowly.
Search
Dassimen
October 29, 2020
Programming
630
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TDD is not slowly.
Dassimen
October 29, 2020
More Decks by Dassimen
See All by Dassimen
Write code with "Test First"
anchorcable
0
70
Trying AWS Aurora Serverless.
anchorcable
0
240
Dialogue for Design
anchorcable
1
330
How to manage a good work environment
anchorcable
0
130
3日坊主でも勉強したい
anchorcable
5
5.9k
Design It! is good for architect.
anchorcable
0
150
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
790
TDD supports us all the time.
anchorcable
0
380
I read Tokumaru book on ABD.
anchorcable
1
110
Other Decks in Programming
See All in Programming
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
170
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
210
スマートグラスで並列バイブコーディング
hyshu
0
230
Performance Engineering for Everyone
elenatanasoiu
0
190
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
310
C# and C++ Interoperability - cho-dotnetnew
harukasao
0
290
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
210
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
180
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
720
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.2k
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
210
Designing for Timeless Needs
cassininazir
1
260
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
370
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
WENDY [Excerpt]
tessaabrams
11
38k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
300
Producing Creativity
orderedlist
PRO
348
40k
Practical Orchestrator
shlominoach
191
11k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
360
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Transcript
TDDは別に遅くない October 29, 2020 | #dasshimen #完全に理解したTalk 少なくとも遅くはならない 脱脂綿 (
@anchor_cable )
#完全に理解したTalk 2 About Me 脱脂綿 ( @anchor_cable ) 東京都内に住む脱脂綿(=Twitter名)系エンジニア •
株式会社ゆめみ ◦ サーバーサイドエンジニア • LT芸人 ◦ LTネタに困ったらTDDの事を話してる説がある
今日話すこと 3
TDDだと 早く 開発できる 4
TDDの イメージ (多分) 5
TDDに 対する 誤解 6
7 石橋を叩いて渡る
僕の思う TDDの姿 8
9
10 とりあえず 動くものを 作る
真逆 11
サンプル 12
LifeGame 13
14 * - * * - - * - *
- * - * - - - * - ルールに沿って 次の世代を出力
LifeGame 15
そこそこ ややこしい 16
TDD やってみよう 17
とりあえず ToDoリスト を作る 18
19
とりあえず テストコード 書いてみる 20
21
とりあえず プロダクション コード書ける 22
23
思考が エディタに 現れる 24
悩むとしたら 「どう書くか」 だけ 25
目の前のことに 集中できる 26
エディタに載ると より多くの ことが分かる 27
サンプル 28
29
30 countSurroundingAliveを定義 するWorldクラスを持って、そ のフィールドにセルを表現する listを持つのでどうだろう? 毎回world渡す関数で使い勝手 良いかな?
多分これが 一番早いと 思います 31
結論 32
TDDの方が 早く 開発できる 33
おまけ 34
折角書いた テストコード 35
ガンガン 活用されて欲しい 36
CI環境 欲しくなる 37
CIって難しそう 38
楽に作れる 39
GithubActions なら 40
TDDと GithubActions 相性バツグン 41
近日中に Zenn書きます 42
ご清聴 ありがとう ございました 43