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
LaravelでTDDを体験しよう #phpcon2018
Search
omoon
December 15, 2018
Technology
1
4k
LaravelでTDDを体験しよう #phpcon2018
PHPカンファレンス2018発表資料です。
omoon
December 15, 2018
Tweet
Share
More Decks by omoon
See All by omoon
My First Adobe XD Plugin
omoon
0
140
Laravel でアプリケーションを開発し Heroku で公開するまでの一部始終 #laravel_osaka
omoon
3
1.4k
Why don't you try "Query Builder"
omoon
1
2.9k
素晴らしき Carbon の世界 〜あなたも今日から日時マスター〜
omoon
4
14k
omoon.org の裏側 〜FuelPHP の task 活用例〜
omoon
0
150
Dive into the Cloud with our buddy, lovely PHP!
omoon
0
940
FuelPHP をさわってみて #phpkansai
omoon
2
190
Other Decks in Technology
See All in Technology
Formal Development of Operating Systems in Rust
riru
1
420
I could be Wrong!! - Learning from Agile Experts
kawaguti
PRO
8
3.4k
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
220
商品レコメンドでのexplicit negative feedbackの活用
alpicola
1
340
Cloudflareで実現する AIエージェント ワークフロー基盤
kmd09
0
290
Godot Engineについて調べてみた
unsoluble_sugar
0
380
Building Scalable Backend Services with Firebase
wisdommatt
0
110
Git scrapingで始める継続的なデータ追跡 / Git Scraping
ohbarye
5
490
技術に触れたり、顔を出そう
maruto
1
150
テストを書かないためのテスト/ Tests for not writing tests
sinsoku
1
170
KMP with Crashlytics
sansantech
PRO
0
240
あなたの人生も変わるかも?AWS認定2つで始まったウソみたいな話
iwamot
3
850
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
RailsConf 2023
tenderlove
29
970
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Site-Speed That Sticks
csswizardry
2
270
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
How to train your dragon (web standard)
notwaldorf
89
5.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Designing Experiences People Love
moore
139
23k
Transcript
-BSBWFMͰ5%%Λମݧ͠Α͏ 1)1ΧϯϑΝϨϯε %FD 4PUBSP0.63" !PNPPO
"CPVU.F
"CPVU.F w4PUBSP0.63"
"CPVU.F w4PUBSP0.63" wGSPN0TBLB
"CPVU.F w4PUBSP0.63" wGSPN0TBLB wPNPPOPSH
"CPVU.F w4PUBSP0.63" wGSPN0TBLB wPNPPOPSH w!PNPPO
"CPVU.F w4PUBSP0.63" wGSPN0TBLB wPNPPOPSH w!PNPPO
None
None
XJUI1)1
XJUI1)1 w ZFBST
XJUI1)1 w ZFBST wΦϨΦϨˠ4ZNGPOZˠ'VFM1)1ˠ-BSBWFM
None
None
5PQJDT wୈষ5%%ͱ wୈষ։ൃڥ४උ wୈষ5%%͜ͱ͡Ί wୈষϦζϜΛײ͡Δ wୈষσʔλϕʔε wୈষ࣌ؒͷڐ͢ݶΓ
ୈষ5%%ͱ
5FTU%SJWFO %FWFMPQNFOU
5FTU%SJWFO %FWFMPQNFOU
ςετۦಈ։ൃ
ςετۦಈ։ൃ
None
None
5%%ͷࢦ͢ͱ͜Ζ
ಈ࡞͢Δ͖Ε͍ͳίʔυ
ಈ࡞͠ͳ͍ ಈ࡞͢Δ ͖Ε͍ ΰʔϧ ͖ͨͳ͍ ελʔτ
ಈ࡞͠ͳ͍ ಈ࡞͢Δ ͖Ε͍ ΰʔϧ ͖ͨͳ͍ ελʔτ
ಈ࡞͠ͳ͍ ಈ࡞͢Δ ͖Ε͍ ΰʔϧ ͖ͨͳ͍ ελʔτ
None
IUUQTDIBOOFMNTEODPN &WFOUTEFDPEF%0
5%%ͷϓϩηε w·ͣςετΛॻ͘ wςετ͕ࣦഊ͢Δ͜ͱΛ֬ೝ wͱʹ͔͘ૉૣ࣮͘ wςετ͕ޭ͢Δ͜ͱΛ֬ೝ wςετ͕ޭ͢Δ͜ͱΛ֬ೝ͠ͳ͕ΒϦϑΝΫλϦϯά w࠷ॳʹΔ
None
ίʔυͷ࣭Λ ୲อ͢Δͷ
։ൃऀ͕ ؾ࣋ͪΑ͘։ൃ͢ΔͨΊͷख๏
None
ϦζϜ
ϦζϜ
ʮགྷΔΜͩΑʯ ʮԻָͷ໐͍ͬͯΔؒͱʹ͔͘གྷΓଓ͚ΔΜͩɻ͓͍Βͷݴ͍ͬͯΔ͜ͱΘ͔Δ͔͍ʁ གྷΔΜͩɻགྷΓଓ͚ΔΜͩԿނགྷΔ͔ͳΜͯߟ͑ͪΌ͍͚ͳ͍ɻҙຯͳΜͯ͜ͱߟ͑ͪΌ ͍͚ͳ͍ɻҙຯͳΜͯͱͱͳ͍ΜͩɻͦΜͳ͜ͱߟ͑ͩͨ͠Β͕ఀ·ΔɻҰ͕ ఀ·ͬͨΒɺ͏͓͍ΒʹԿͱͯ͋͛͠ΒΕͳ͘ͳͬͯ͠·͏ɻ͋Μͨͷܨ͕Γ ͏Կͳ͘ͳͬͯ͠·͏ɻӬԕʹͳ͘ͳͬͯ͠·͏ΜͩΑɻͦ͏͢Δͱ͋Μͨͬͪ͜ͷ ੈքͷதͰ͔͠ੜ͖͍͚ͯͳ͘ͳͬͯ͠·͏ɻͲΜͲΜͬͪ͜ͷੈքʹҾ͖ࠐ·Εͯ͠· ͏Μͩɻ͔ͩΒΛఀΊͪΌ͍͚ͳ͍ɻͲΕ͚ͩഅࣛഅࣛ͘͠ࢥ͑ͯɺͦΜͳ͜ͱؾʹ ͪ͠Ό͍͚ͳ͍ɻ͖ͪΜͱεςοϓΛ౿ΜͰགྷΓଓ͚ΔΜͩΑɻͦͯ͠ݻ·ͬͯ͠·ͬͨ ͷΛগͣͭ͠Ͱ͍͍͔Β΄͙͍ͯ͘͠ΜͩΑɻ·ͩखΕʹͳ͍ͬͯͳ͍ͷ͋Δ
ͣͩɻ͑Δͷશ෦͏ΜͩΑɻϕετΛਚ͘͢ΜͩΑɻා͕Δ͜ͱԿͳ͍ɻ ͋Μ͔ͨͨ͠ʹർΕ͍ͯΔɻർΕͯɺڴ͍͑ͯΔɻ୭ʹͰͦ͏͍͏͕࣌͋ΔɻԿ͔ ͕ؒҧ͍ͬͯΔΑ͏ʹײ͡ΒΕΔΜͩɻ͔ͩΒ͕ఀ·ͬͯ͠·͏ʯ ʮͰགྷΔ͔͠ͳ͍ΜͩΑʯ ʮͦΕͱͼ͖ͬΓ্ख͘གྷΔΜͩɻΈΜͳ͕ײ৺͢Δ͘Β͍ʹɻͦ͏͢Ε͓͍Β͋ Μͨͷ͜ͱΛɺखͬͯ͋͛ΒΕΔ͔͠Εͳ͍ɻ͔ͩΒགྷΔΜͩΑɻԻָͷଓ͘ݶΓʯ ΦυϧϯμϤɻΦϯΨΫϊπρΫΧΪϦɻ μϯεɾμϯεɾμϯεʢଜ্य़थʣ
ࠓΘΔͱ͍͍ͳͱࢥ͏͜ͱ wؼ͙ͬͯ͢ʹ࢝ΊΒΕΔ։ൃڥͷ࡞Γํ w5%%։ൃऀͷͨΊͷͷͰ͋Δͱ͍͏͜ͱ w5%%ͷͭϦζϜ
ୈষ։ൃڥ४උ
։ൃڥ w.BD DPNQPTFSJOTUBMMFE w1IQ4UPSN
-BSBWFM wDPNQPTFSDSFBUFQSPKFDUQSFGFSEJTUMBSBWFM MBSBWFMQIQDPO@UEE wDPNQPTFSSFRVJSFMBSBWFMIPNFTUFBEEFW wQIQWFOEPSCJOIPNFTUFBENBLF wWBHSBOUVQ
1IQ4UPSN wBEE$-**OUFSQSFUFS wBEE5FTU'SBNFXPSL$POpHVSBUJPO
'PS-BSBWFM%FWFMPQNFOU wDPNQPTFSSFRVJSFEPDUSJOFECBMlCBSSZWEI MBSBWFMJEFIFMQFS wQIQBSUJTBOJEFIFMQFSHFOFSBUF wVTFMBSBWFMQMVHJO
ୈষ5%%͜ͱ͡Ί
5%%ͷϓϩηε w·ͣςετΛॻ͘ wςετ͕ࣦഊ͢Δ͜ͱΛ֬ೝ wͱʹ͔͘ૉૣ࣮͘ wςετ͕ޭ͢Δ͜ͱΛ֬ೝ wςετ͕ޭ͢Δ͜ͱΛ֬ೝ͠ͳ͕ΒϦϑΝΫλϦϯά w࠷ॳʹΔ
ϦζϜ
ୈষϦζϜΛײ͡Δ
ఆΞϓϦ
None
None
5P%PϦετ࡞
5P%PϦετ w ABQJDVTUPNFSTAʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJDVTUPNFSTAʹ1045ϝιουͰΞΫηεͰ͖Δ w ABQJDVTUPNFST\DVTUPNFS@JE^Aʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJDVTUPNFST\DVTUPNFS@JE^Aʹ165ϝιουͰΞΫηεͰ͖Δ w
ABQJDVTUPNFST\DVTUPNFS@JE>Aʹ%&-&5&ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUTAʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUTAʹ1045ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUT\SFQPSU@JE^Aʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUT\SFQPSU@JE^Aʹ165ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUT\SFQPSU@JE>Aʹ%&-&5&ϝιουͰΞΫηεͰ͖Δ
ςετʹԿΛॻ͔͘ wԿ͔Λʮ࣮ߦʯͨ࣌͠ͷ݁ՌΛ wʮݕূʯ͢Δ wʮݕূʯˠʮ࣮ߦʯ
5%%ͷϓϩηε w·ͣςετΛॻ͘ wςετ͕ࣦഊ͢Δ͜ͱΛ֬ೝ wͱʹ͔͘ૉૣ࣮͘ wςετ͕ޭ͢Δ͜ͱΛ֬ೝ wςετ͕ޭ͢Δ͜ͱΛ֬ೝ͠ͳ͕ΒϦϑΝΫλϦϯά w࠷ॳʹΔ
ϦζϜ
ୈষσʔλϕʔε
None
σʔλϕʔε w&MPRVFOUϞσϧ࡞ wϚΠάϨʔγϣϯ wGBDUPSZTFFEFSʢμϛʔσʔλΛ࡞͢ΔͨΊʹʣ wςετͱͷ༥߹
ୈষ࣌ؒͷڐ͢ݶΓ
Ծ࣮ w؆୯ͳςετΛॻ͘ wςετΛ࣮ߦͯ͠ʮࣦഊʯΛ֬ೝ w࣮ʢૉૣ͘ɺ࠷খݶͰʣ wςετͷʮޭʯΛ֬ೝ w࣮Ͱͳ͘ʮςετ͕ʯਖ਼͍͜͠ͱ͕֬ೝͰ͖Δ
"OZRVFTUJPOT