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
テスト駆動開発本をPHPで写経してみた / Copy Test Driven Developm...
Search
02
March 15, 2023
Technology
630
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
テスト駆動開発本をPHPで写経してみた / Copy Test Driven Development Code by PHP
2023/03/15 第150回 PHP勉強会 LTで使用したスライドです
02
March 15, 2023
Transcript
26 slides
2023/03/15 第150回PHP勉強会@東京 @02 テスト駆動開発本を PHPで写経してみた
#phpstudy © 2012-2023 BASE, Inc. Web Application Enginner 02 大津
和槻 :@cocoeyes02 2021/02~ BASE, Inc. 自己紹介 執筆 登壇応援中! PHP系カンファレンス登壇
#phpstudy © 2012-2023 BASE, Inc. 今日話すこと 3 PHPで写経することに なったきっかけ PHPで写経をして学べたこと
3 1 2
#phpstudy © 2012-2023 BASE, Inc. 今日話さないこと 4 テスト駆動開発本の写経 そのもののメリット 4
1
#phpstudy © 2012-2023 BASE, Inc. 今日話さないこと 5 テスト駆動開発本の写経 そのもののメリット 5
1 https://twitter.com/t_wada/status/1334561597
PHPで写経することに なったきっかけ
#phpstudy © 2012-2023 BASE, Inc. みんな大好きテスト駆動開発本 7 7
#phpstudy © 2012-2023 BASE, Inc. みんな大好きテスト駆動開発本 テスト駆動開発本読んだ人✋ 8
#phpstudy © 2012-2023 BASE, Inc. みんな大好きテスト駆動開発本 テスト駆動開発本写経した人✋ 9
#phpstudy © 2012-2023 BASE, Inc. きっかけ: テスト駆動開発本の社内勉強会 10 10
#phpstudy © 2012-2023 BASE, Inc. 11 11 きっかけ: テスト駆動開発本の社内勉強会
#phpstudy © 2012-2023 BASE, Inc. 12 12 テスト駆動開発本は第1部はJava、第2部はPythonで書かれています。 勉強会では、どの言語で書いても良いという風になりました (厳密な意味では写経ではなくなるが、それはそれで勉強になるので)
きっかけ: テスト駆動開発本の社内勉強会
#phpstudy © 2012-2023 BASE, Inc. 13 13 テスト駆動開発本は第1部はJava、第2部はPythonで書かれています。 勉強会では、どの言語で書いても良いという風になりました (厳密な意味では写経ではなくなるが、それはそれで勉強になるので)
ここ数年新しいバージョンのPHPキャッチアップ全然できてなかったなあ〜 →良い機会だし、新しいバージョンのPHPで写経してキャッチアップもしよう! きっかけ: テスト駆動開発本の社内勉強会
PHPで写経をして 学べたこと
#phpstudy © 2012-2023 BASE, Inc. https://github.com/cocoeyes02/tdd-training-php81 PHPで写経をして学べたことはPRへ
#phpstudy © 2012-2023 BASE, Inc. https://github.com/cocoeyes02/tdd-training-php81 PHPで写経をして学べたことはPRへ
#phpstudy © 2012-2023 BASE, Inc. PHPで写経をして学べたことはPRへ 17 17 一章ずつPRを出し、気がついたことをPRのdescriptionに書く
#phpstudy © 2012-2023 BASE, Inc. PHPで写経をして学べたことはPRへ 18 18 一章ずつPRを出し、気がついたことをPRのdescriptionに書く
#phpstudy © 2012-2023 BASE, Inc. PHPで写経をして学べたこと 19 19 • Javaとの仕様の違いを感じた
• まだPHPで使ったことのない機能を使うチャンスになった • PHPUnitについても学んだことがあった
#phpstudy © 2012-2023 BASE, Inc. Javaとの仕様の違いを感じた
#phpstudy © 2012-2023 BASE, Inc. まだPHPで使ったことのない機能を 使うチャンスになった
#phpstudy © 2012-2023 BASE, Inc. PHPUnitについても 学んだことがあった
#phpstudy © 2012-2023 BASE, Inc. テスト駆動開発本を PHPで写経した結論は? 23
#phpstudy © 2012-2023 BASE, Inc. 刺激的で面白いし キャッチアップもできるし TDDも学べて一石三鳥 24 テスト駆動開発本を
PHPで写経した結論は?
#phpstudy © 2012-2023 BASE, Inc. 最後に 25 25 今回はPHP8.1とPHPUnit9で写経しましたが、 今だったらPHP8.2やPHPUnit10がリリースされているのでまた写経できる!
新しいバージョンのキャッチアップとして、 テスト駆動開発本の写経を用いてみてはいかがでしょうか?
#phpstudy © 2012-2023 BASE, Inc. 宣伝 https://fortee.jp/phperkaigi-2023/proposal/4379c965-b88d-49c8-b316-e27e2e6b4db1
More Decks by 02
See All by 02
なぜarray_firstとarray_lastは採用、 array_value_firstとarray_value_lastは 見送りだったか / Why array_value_first and array_value_last was declined, then why array_first and array_last was accpeted?
cocoeyes02
0
630
Amazon ECS Managed Instances が リリースされた!キャッチアップしよう!! / Let's catch up Amazon ECS Managed Instances
cocoeyes02
0
570
新しいPHP拡張モジュールインストール方法「PHP Installer for Extensions (PIE)」を使ってみよう!
cocoeyes02
0
2.3k
PHP8.4におけるJITフレームワークIRと中間表現について理解を深める
cocoeyes02
1
1.5k
RemoveだらけのPHPUnit 12に備えよう
cocoeyes02
0
1.5k
PHP RFC: Deprecate implicitly nullable parameter types をサクッと話す
cocoeyes02
0
1.2k
PHPUnit 11 概論
cocoeyes02
5
4k
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
1
1.5k
BASEにおける インシデント対応フローと工夫
cocoeyes02
0
1.4k
Other Decks in Technology
See All in Technology
Claude Codeで作ったアプリを安全に公開する/Built with Claude Japan 2026
yoshidashingo
0
230
An Introduction to Context Ontology Accelerator (teaching AI agents what your data means)
inariku
PRO
1
220
[dbts2026]数十PBの超巨大データ×AI活用を支えるSnowflakeの実力〜大規模環境におけるアーキテクチャと運用のリアル〜
y_matsubara
0
140
速くなるほど、深く考える AI時代のQAに学ぶ
kobayashiyorimitsu
0
130
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
1.7k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
190
田んぼから始まる挑戦 〜新米農家の1年目〜
miu_crescent
PRO
0
130
ぼくのClaude Codeの使い方
falken
PRO
1
2.8k
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
180
Microsoft Entra Kerberos で実現するクラウド デバイス管理
tamaiyutaro
2
670
【dbts2026】AIエージェントの 判断と探索を変える、 データベース エンジニアリング― 既存DBの処理と依存関係から作る、オペレーショナルオントロジー ―
shisyu_gaku
0
280
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Crafting Experiences
bethany
1
430
GitHub's CSS Performance
jonrohan
1033
470k
4 Signs Your Business is Dying
shpigford
187
23k
Git: the NoSQL Database
bkeepers
PRO
433
67k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
800
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Skip the Path - Find Your Career Trail
mkilby
1
290
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550