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.2k
経営・意思・エンジニアリング
ymatsuwitter
23
19k
LLM in 2023 and 2024
ymatsuwitter
8
5.3k
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.7k
Monorepo on AWS
ymatsuwitter
0
270
Tech behind LayerX SaaS products
ymatsuwitter
0
3k
Other Decks in Programming
See All in Programming
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
830
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
良いユニットテストを書こう
mototakatsu
8
2.7k
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
780
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
100
Haze - Real time background blurring
chrisbanes
1
510
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
160
From Translations to Multi Dimension Entities
alexanderschranz
2
130
선언형 UI에서의 상태관리
l2hyunwoo
0
180
103 Early Hints
sugi_0000
1
230
CSC305 Lecture 26
javiergs
PRO
0
140
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.7k
Featured
See All Featured
Bash Introduction
62gerente
608
210k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Music & Morning Musume
bryan
46
6.2k
Documentation Writing (for coders)
carmenintech
66
4.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
The Invisible Side of Design
smashingmag
298
50k
Building an army of robots
kneath
302
44k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
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