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
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
34
Trying AWS Aurora Serverless.
anchorcable
0
220
Dialogue for Design
anchorcable
1
310
How to manage a good work environment
anchorcable
0
110
3日坊主でも勉強したい
anchorcable
5
5.7k
Design It! is good for architect.
anchorcable
0
130
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
730
TDD supports us all the time.
anchorcable
0
340
I read Tokumaru book on ABD.
anchorcable
1
97
Other Decks in Programming
See All in Programming
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
970
Google Opalで使える37のライブラリ
mickey_kubo
3
140
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
2
1.6k
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
330
ALL CODE BASE ARE BELONG TO STUDY
uzulla
28
6.7k
CSC509 Lecture 06
javiergs
PRO
0
270
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
250
AkarengaLT vol.38
hashimoto_kei
1
120
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
110
CSC305 Lecture 08
javiergs
PRO
0
280
Leading Effective Engineering Teams in the AI Era
addyosmani
7
610
コード生成なしでモック処理を実現!ovechkin-dm/mockioで学ぶメタプログラミング
qualiarts
0
270
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.8k
GraphQLとの向き合い方2022年版
quramy
49
14k
Agile that works and the tools we love
rasmusluckow
331
21k
GitHub's CSS Performance
jonrohan
1032
470k
Become a Pro
speakerdeck
PRO
29
5.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Being A Developer After 40
akosma
91
590k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
RailsConf 2023
tenderlove
30
1.3k
Side Projects
sachag
455
43k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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