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
テストコード書いてみませんか?
onopon
2
340
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
590
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
rails newと同時に型を書く
aki19035vc
5
710
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
700
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
100
混沌とした例外処理とエラー監視に秩序をもたらす
morihirok
13
2.3k
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
DMMオンラインサロンアプリのSwift化
hayatan
0
190
asdf-ecspresso作って 友達が増えた話 / Fujiwara Tech Conference 2025
koluku
0
1.4k
AHC041解説
terryu16
0
400
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
300
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Building an army of robots
kneath
302
45k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
Automating Front-end Workflow
addyosmani
1366
200k
How to train your dragon (web standard)
notwaldorf
89
5.8k
The Invisible Side of Design
smashingmag
299
50k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
Mobile First: as difficult as doing things right
swwweet
222
9k
RailsConf 2023
tenderlove
29
970
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