$30 off During Our Annual Pro Sale. View Details »
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
570
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
35
Trying AWS Aurora Serverless.
anchorcable
0
220
Dialogue for Design
anchorcable
1
320
How to manage a good work environment
anchorcable
0
110
3日坊主でも勉強したい
anchorcable
5
5.7k
Design It! is good for architect.
anchorcable
0
140
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
750
TDD supports us all the time.
anchorcable
0
350
I read Tokumaru book on ABD.
anchorcable
1
100
Other Decks in Programming
See All in Programming
FluorTracer / RayTracingCamp11
kugimasa
0
220
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
370
ゲームの物理 剛体編
fadis
0
330
DSPy Meetup Tokyo #1 - はじめてのDSPy
masahiro_nishimi
1
160
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
370
WebRTC と Rust と8K 60fps
tnoho
2
2k
Microservices rules: What good looks like
cer
PRO
0
1.2k
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
2
670
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
2.7k
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
240
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
140
dnx で実行できるコマンド、作ってみました
tomohisa
0
140
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
94
KATA
mclloyd
PRO
32
15k
Practical Orchestrator
shlominoach
190
11k
How to train your dragon (web standard)
notwaldorf
97
6.4k
4 Signs Your Business is Dying
shpigford
186
22k
Become a Pro
speakerdeck
PRO
31
5.7k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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