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
1
550
TDD is not slowly.
Dassimen
October 29, 2020
Tweet
Share
More Decks by Dassimen
See All by Dassimen
Write code with "Test First"
anchorcable
0
22
Trying AWS Aurora Serverless.
anchorcable
0
210
Dialogue for Design
anchorcable
1
300
How to manage a good work environment
anchorcable
0
110
3日坊主でも勉強したい
anchorcable
5
5.6k
Design It! is good for architect.
anchorcable
0
130
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
680
TDD supports us all the time.
anchorcable
0
330
I read Tokumaru book on ABD.
anchorcable
1
97
Other Decks in Programming
See All in Programming
VitestのIn-Source Testingが便利
taro28
9
2.5k
Duke on CRaC with Jakarta EE
ivargrimstad
1
150
Global Azure 2025 @ Kansai / Hyperlight
kosmosebi
0
160
Embracing Ruby magic
vinistock
2
270
私のRubyKaigi 2025 Kaigi Effect / My RubyKaigi 2025 Kaigi Effect
chobishiba
1
140
ぽちぽち選択するだけでOSSを読めるVSCode拡張機能
ymbigo
14
6.5k
バイラテラルアップサンプリング
fadis
3
580
iOSアプリで測る!名古屋駅までの 方向と距離
ryunakayama
0
160
開発者フレンドリーで顧客も満足?Platformの秘密
algoartis
0
230
“技術カンファレンスで何か変わる?” ──RubyKaigi後の自分とチームを振り返る
ssagara00
0
120
今話題のMCPサーバーをFastAPIでサッと作ってみた
yuukis
0
130
GitHub Copilot for Azureを使い倒したい
ymd65536
1
340
Featured
See All Featured
Gamification - CAS2011
davidbonilla
81
5.3k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
How GitHub (no longer) Works
holman
314
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
850
Typedesign – Prime Four
hannesfritz
41
2.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.7k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
Agile that works and the tools we love
rasmusluckow
329
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
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