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
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
42 best practices for Symfony, a decade later
tucksaun
1
180
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
Refactor your code - refactor yourself
xosofox
1
260
今からはじめるAndroidアプリ開発 2024 / DevFest 2024
star_zero
0
1k
あれやってみてー駆動から成長を加速させる / areyattemite-driven
nashiusagi
1
200
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
5
900
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
fs2-io を試してたらバグを見つけて直した話
chencmd
0
220
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
650
テストケースの名前はどうつけるべきか?
orgachem
PRO
0
130
Featured
See All Featured
Producing Creativity
orderedlist
PRO
341
39k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
A better future with KSS
kneath
238
17k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
GraphQLとの向き合い方2022年版
quramy
44
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Bash Introduction
62gerente
608
210k
The Language of Interfaces
destraynor
154
24k
Optimising Largest Contentful Paint
csswizardry
33
3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.3k
Building Your Own Lightsaber
phodgson
103
6.1k
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