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
560
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
25
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
710
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
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
980
Android 16KBページサイズ対応をはじめからていねいに
mine2424
0
180
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
6.4k
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
3
780
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
410
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
3
330
Porting a visionOS App to Android XR
akkeylab
0
630
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
4
480
10 Costly Database Performance Mistakes (And How To Fix Them)
andyatkinson
0
450
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
960
ふつうの技術スタックでアート作品を作ってみる
akira888
1
930
技術同人誌をMCP Serverにしてみた
74th
1
670
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
KATA
mclloyd
30
14k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
We Have a Design System, Now What?
morganepeng
53
7.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Designing for Performance
lara
610
69k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
GitHub's CSS Performance
jonrohan
1031
460k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
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