Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TDD is not slowly.
Search
Dassimen
October 29, 2020
Programming
670
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TDD is not slowly.
Dassimen
October 29, 2020
Transcript
43 slides
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
More Decks by Dassimen
See All by Dassimen
Write code with "Test First"
anchorcable
0
77
Trying AWS Aurora Serverless.
anchorcable
0
260
Dialogue for Design
anchorcable
1
350
How to manage a good work environment
anchorcable
0
150
3日坊主でも勉強したい
anchorcable
5
6.1k
Design It! is good for architect.
anchorcable
0
170
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
820
TDD supports us all the time.
anchorcable
0
410
I read Tokumaru book on ABD.
anchorcable
1
130
Other Decks in Programming
See All in Programming
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
330
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.9k
SODA - FACT BOOK(EN)
sodainc
1
240
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
210
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
870
protojson における文字化けの扱い
kazuki1023
0
420
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
350
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
190
Performance Optimization With LLMs
xleitix
0
260
From Java 8-11 to Java 21-27 — Benefits, Challenges, and a Practical Migration Path
x5gtrn
PRO
0
100
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
640
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
Facilitating Awesome Meetings
lara
57
7.2k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
240
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.4k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k
GitHub's CSS Performance
jonrohan
1033
470k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Deep Space Network (abreviated)
tonyrice
0
420
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
ラッコキーワード サービス紹介資料
rakko
5
5.8M