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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Dassimen
October 29, 2020
Programming
620
1
Share
TDD is not slowly.
Dassimen
October 29, 2020
More Decks by Dassimen
See All by Dassimen
Write code with "Test First"
anchorcable
0
66
Trying AWS Aurora Serverless.
anchorcable
0
240
Dialogue for Design
anchorcable
1
330
How to manage a good work environment
anchorcable
0
120
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
370
I read Tokumaru book on ABD.
anchorcable
1
110
Other Decks in Programming
See All in Programming
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
190
3Dシーンの圧縮
fadis
1
550
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
290
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
400
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
220
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.2k
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
310
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
760
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
5
1k
誰も頼んでない機能を出荷した話
zekutax
0
150
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
510
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Crafting Experiences
bethany
1
160
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
130
Odyssey Design
rkendrick25
PRO
2
650
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
How to train your dragon (web standard)
notwaldorf
97
6.6k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
310
Code Review Best Practice
trishagee
74
20k
The Curse of the Amulet
leimatthew05
1
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
240
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