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
Goのテストの基本と開発フロー
Search
y_matsuwitter
September 11, 2014
Programming
39
6.7k
Goのテストの基本と開発フロー
標準パッケージと小さいツールの組み合わせで十分テストできますよ的な話 @GolangTestNight(Gunosy.go#10)
y_matsuwitter
September 11, 2014
Tweet
Share
More Decks by y_matsuwitter
See All by y_matsuwitter
Product Utilization of Large Language Models Starting Today
ymatsuwitter
3
2.3k
経営・意思・エンジニアリング
ymatsuwitter
23
19k
LLM in 2023 and 2024
ymatsuwitter
8
5.4k
Turbulent Technological Changes and Career Strategies
ymatsuwitter
2
2.6k
LLM in toB Service and Its UX
ymatsuwitter
6
10k
Agent and small LLM validation
ymatsuwitter
7
2.9k
Information management for a culture of speed: The story of Notion and LayerX
ymatsuwitter
4
9.8k
Monorepo on AWS
ymatsuwitter
0
290
Tech behind LayerX SaaS products
ymatsuwitter
0
3.1k
Other Decks in Programming
See All in Programming
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
190
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
良いユニットテストを書こう
mototakatsu
11
3.6k
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
280
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
Jaspr Dart Web Framework 박제창 @Devfest 2024
itsmedreamwalker
0
150
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.8k
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
400
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
930
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
630
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
2
7.7k
Flatt Security XSS Challenge 解答・解説
flatt_security
0
730
Featured
See All Featured
Building Your Own Lightsaber
phodgson
104
6.2k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
A better future with KSS
kneath
238
17k
Embracing the Ebb and Flow
colly
84
4.5k
What's in a price? How to price your products and services
michaelherold
244
12k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Navigating Team Friction
lara
183
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Designing for humans not robots
tammielis
250
25k
Transcript
(Pͷςετͷجຊͱ ։ൃϑϩʔ !Z@NBUTVXJUUFS
!Z@NBUTVXJUUFS w (VOPTZJOD ࣥߦһ w ศར w ਖ਼࠲POόϥϯεϘʔϧ w (PMBOH
w झຯ໙ۀ
ΞδΣϯμ w ιϑτΣΞςετͱ(Pݴޠͷࢥ w UFTUJOHύοέʔδͷհ w ςετΛؚΊ࣮ͨࡍͷ։ൃϑϩʔͷҰྫ
օ͞Μ(Pॻ͍ͯ·͔͢ʁ
(Pͷςετͯ͠·͔͢ʁ
ͦͦςετͱ w ػೳʹόά͕ແ͍͜ͱΛ֬ೝ͢Δʢػೳཁ݅ʣ w αʔϏεͷ࣭Λ֬ೝ͢Δʢඇػೳཁ݅ʣ
ػೳཁ݅ w ίʔυ͕ຬ͖༷ͨ͢ʹ͍ͦͬͯΔ͜ͱ w શͯͷೖྗʹରͯ͠ɺదʹॲཧͰ͖͍ͯΔ ͜ͱ
ඇػೳཁ݅ w ੑೳ͕ेͰ͋Δ͜ͱ w ηΩϡϦςΟʹ͕ͳ͍͜ͱɹɹʜͳͲͳͲ
ςετ ͦΕ͚ͩͰͳ͍
ςετͱνʔϜ։ൃ w Ϟδϡʔϧͷಠཱੑ͕୲อ͍͢͠ w ଐਓੑͷഉআ
5FTUBCMFͳϞδϡʔϧ w ֎෦ͷଞͷϞδϡʔϧʹґଘ͠ͳ͍ w ෭࡞༻͕গͳ͍
ଐਓੑͷഉআ w ςετ͕༷ॻ w ॻ͍ͨίʔυϦϑΝΫλͨ͠ίʔυͷଥੑ ͕ͩΕͰݕূͰ͖Δ
(Pͷςετࢥ w /P"TTFSUJPO w /PUFTUIFMQFS
8IZOPBTTFSUJPO w l1SPQFSFSSPSIBOEMJOHNFBOTUIBUTFSWFST DPOUJOVFPQFSBUJPOBGUFSOPOGBUBMFSSPST JOTUFBEPGDSBTIJOHz w l1SPQFSFSSPSSFQPSUJOHNFBOTUIBUFSSPST BSFEJSFDUBOEUPUIFQPJOU TBWJOHUIF QSPHSBNNFSGSPNJOUFSQSFUJOHBMBSHF
DSBTIUSBDFz
ͬ͘͟Γݴ͏ͱ w "TTFSUJPOͰॲཧΛதஅ͢ΔΑΓɺΫϥογϡ ͤ͞ͳ͍͜ͱΛ༏ઌ w దͳΤϥʔϨϙʔτ͕େ
8IZOPUFTUIFMQFST w l"SFMBUFEQPJOUJTUIBUUFTUJOHGSBNFXPSLT UFOEUPEFWFMPQJOUPNJOJMBOHVBHFTPGUIFJS PXO XJUIDPOEJUJPOBMTBOEDPOUSPMTBOE QSJOUJOHNFDIBOJTNT CVU(PBMSFBEZIBTBMM UIPTFDBQBCJMJUJFTXIZSFDSFBUFUIFN z
ͬ͘͟Γݴ͏ͱ w (Pݴޠࣗମʹςετʹؔ͢Δॆͳࢧԉػߏ͕ උΘ͍ͬͯΔͷͰɺ৽ͨͳ%4-ͳͲͷशಘʹί ετΛׂ͔ͣʹςετ͢Δ͜ͱΛ͓͢͢Ί͢Δ
(PMBOHͰͷఆੴ w l5IFUFTUNJHIUXPSLCFUUFSJGUBCMFESJWFOz w ਖ਼͍͠ೖྗͱग़ྗͷΛ࠷ॳʹ༻ҙ͠ɺͦΕΒ ͕୲อ͞Ε͍ͯΔ͔νΣοΫ͍ͯ͘͠
UFTUJOHύοέʔδ
جຊ w HPUFTUίϚϯυΛ࣮ߦ͢Δͱɺ @UFTUHPϑΝΠ ϧ͕શͯςετ࣮ߦରͱͯ͠ςετ։࢝ w ςετରϝιουΛߜΔͳͲࡉ͔͍༷ʑͳΦ ϓγϣϯ͕͋Γ·͢
ҎԼͷίʔυΛϕʔεʹύοέʔδհ QBDLBHFNBJO ! GVOD%PVCMF JJOU JOU\ SFUVSOJ ^
5FTUܥ
None
Δ͜ͱ w GVOD5FTU U UFTUJOH5 Λ࣮ w U-PH U&SSPS U'BUBMͳͲΛ༻͍ɺςετͷࣦഊ
ͳͲΛదͳϑΥʔϚοτͰ͑Δ w ࣮ߦHPUFTU
#FODINBSLܥ
None
Δ͜ͱ w GVOD#FODINBSL U UFTUJOH# Λ࣮ w C/ C3VO1BSBSFMM C3FTUBSU5JNFSͳͲΛ༻͍ɺ
ϕϯνϚʔΫΛਖ਼͘͠ΒͤΔ͜ͱɻ w ࣮ߦHPUFTUCFODI
&YBNQMFܥ
None
Δ͜ͱ w GVOD&YBNQMF Λ࣮ w GVODͷඌʹ0VUQVU͔Β࢝·Δɺظ͞Ε Δඪ४ग़ྗΛίϝϯτͱͯ͠ॻ͖ࠐΉ w ࣮ࡍͷඪ४ग़ྗͱίϝϯτΛൺֱ͢Δ w
࣮ߦHPUFTU
$BTF4UVEZ Ϟμϯͳ ։ൃϑϩʔߏங
͓ w 6TFS"HFOUΛೖྗ͢ΔͱJ1IPOF "OESPJE ͦ ͷଞͷ͍ͣΕ͔Λฦͯ͘͠ΕΔϞδϡʔϧΛ࡞Δ
ͱΓ͋͑ͣ ͬ͘͟Γ֎Λ࡞Δ
None
EPDHP HPEPDʹͯɺύοέʔδͷEPDHP0WFSWJFXͳͲͰ ར༻͞ΕΔͷͰɺॻ͍ͯΈ·͠ΐ͏ɻ
(P%PDΛग़ྗ͢Δ w HPEPDIUUQb` w (JUIVCͳͲͷ1VCMJD3FQPͳΒHPEPDPSHͰ֬ ೝͰ͖·͢ w IUUQTHPEPDPSHHJUIVCDPNZ NBUTVXJUUFSEFWJDFUZQF
None
ςετΛॻ͘
None
&YBNQMF
#FODINBSL
ςετΛ࣮ߦͯ͠ΈΔ
$PWFSBHFϨϙʔτ ҎԼͷίϚϯυͰ֬ೝͰ͖Δ HPUFTUDPWFSQSPpMFDPWFSBHFPVU HPUPPMDPWFSBHFIUNMDPWFSBHFPVU
$*αʔϏεʹՃ w $JSDMF$*Ͱ͋Ε࿈ܞ͢Δͩ ͚Ͱ0, w વίέΔ w IUUQTDJSDMFDJDPNHIZ NBUTVXJUUFSEFWJDFUZQF
αϯϓϧͪ͜Β w ϦϙδτϦIUUQTHJUIVCDPNZ NBUTVXJUUFSEFWJDFUZQF w $JSDMF$*IUUQTDJSDMFDJDPNHIZ NBUTVXJUUFSEFWJDFUZQF w (P%PDIUUQTHPEPDPSHHJUIVCDPNZ NBUTVXJUUFSEFWJDFUZQF
·ͱΊ w ςετέʔεʹ߹ΘͤͯͦΕͧΕʹదͳςετ Λߏங͢Δ͜ͱ͕(PͰਪ͞Ε͍ͯΔɻ w (PݴޠͳΒେ͖ͳϑϨʔϜϫʔΫΛಋೖ͢Δ͜ ͱͳ͘ɺϞμϯͳ։ൃϑϩʔ͕ߏஙͰ͖Δʂ
)BQQZ(PDPEJOH