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
メール文面確認テストを作りながら、テストについて改めて考えてみた
Search
masyus_work
January 11, 2019
Programming
210
0
Share
メール文面確認テストを作りながら、テストについて改めて考えてみた
masyus_work
January 11, 2019
More Decks by masyus_work
See All by masyus_work
ふりかえりとチームクレドが僕らにもたらしてくれたもの
masyus
2
340
【オンライン】Clean Architecture 達人に学ぶソフトウェアの構造と設計 輪読会 #16
masyus
0
160
Clean Architecture 達人に学ぶソフトウェアの 構造と設計_第10回
masyus
0
260
【オンライン】Clean Architecture 達人に学ぶソフトウェアの構造と設計 輪読会 #1
masyus
0
200
テスト駆動開発 輪読会 Vol.5
masyus
0
190
Chrome拡張で便利ツール作ってたら、思いがけず社内ツールを作ることになった話
masyus
0
170
開発速度UP & エンジニアポートフォリオ作成を同時実現する為の取り組み
masyus
0
200
Other Decks in Programming
See All in Programming
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
11
2.9k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1.2k
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
240
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
210
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
1.6k
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.1k
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.3k
さぁV100、メモリをお食べ・・・
nilpe
0
110
Swiftのレキシカルスコープ管理
kntkymt
0
200
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
380
~ 秘伝のタレ化した『神スプシ』と戦う ~ 関数型パラダイムで壊れない仕組みへ
h0r15h0
1
140
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Mobile First: as difficult as doing things right
swwweet
225
10k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Faster Mobile Websites
deanohume
310
31k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Design in an AI World
tapps
1
220
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
How to Talk to Developers About Accessibility
jct
2
210
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Transcript
MASYUS ϝʔϧจ໘֬ೝςετΛ࡞Γͳ͕Βɺ ςετʹ͍ͭͯվΊͯߟ͑ͯΈͨ
ࠓΑΖ͓͘͠ئ͍͍ͨ͠·͢ʂ
ϝʔϧจ໘վमʹؔ͢Δ՝ ʮಥવͰ͕͢ɺ Ұʹଟͷϝʔϧจ໘ͷվमͱฉ͍ͯ ͋ͳͨͲ͏ײ͡·͔͢ʁʯ
ϝʔϧจ໘վमʹؔ͢Δ՝
ϝʔϧจ໘վमʹؔ͢Δ՝ վम༰؆୯ͳ͜ͱ͕ଟׂ͍ʹɺ ಈ࡞֬ೝʹ͕͔͔࣌ؒΓ͍͢ͷ ͕ ಛघͳ݅Ͱͳ͍ͱૹ৴Ͱ͖ͳ͍ϝʔϧ͋Δҝɺ ༷ΛѲ͍ͯ͠ͳ͍ͱେม ʢDBͷϨίʔυࡉ͔͘ૢ࡞͠ͳ͍ͱ͍͚ͳ͔ͬͨΓʣ
ϝʔϧจ໘վमʹؔ͢ΔιϦϡʔγϣϯ ʮͦ͏ͩɺςετΛॻ͜͏ʯ
ςετ ʲςετͷ֓ཁʳ ୯ମςετ(Ϣχοτςετ)ͷ ࣗಈԽΛߦ͏ͨΊͷϑϨʔϜϫʔΫ 1. JavaɿJUnit 2. PHPɿPHPUnit
ςετ ʲςετΛ࡞ΔͱԿ͕ྑ͍ͬͯʁʳ 1. ಈ࡞֬ೝͷࣗಈԽ 2. ࣮ํͷ໌֬Խ 3. ૄ݁߹ͳ࣮Λ͢Δߟ͑ํ͕ʹͭ͘
ςετ PHPUnitͷ࣮ࣄྫ ʢ࣮ࡍʹίʔυݟͤ·͢ʣ
ςετ TDDʢςετۦಈ։ൃʣ ϓϩάϥϜ։ൃख๏ͷҰछͰɺϓϩάϥϜʹඞཁͳ֤ػೳ ʹ͍ͭͯɺ࠷ॳʹςετΛॻ͖ʢ͜ΕΛςετϑΝʔετͱ ݴ͏ʣɺͦͷςετ͕ಈ࡞͢Δඞཁ࠷ݶͳ࣮ΛͱΓ͋ ͑ͣߦͬͨޙɺίʔυΛચ࿅ͤ͞Δɺͱ͍͏͍ఔΛ܁ Γฦ͢ελΠϧͰ͋Δɻ
ςετ
࣮ࡍɺελʔτΞοϓͷݱʹ͓͍ͯ ʮ࣮͕ઌ͔ɺςετ͕ઌ͔ʁʯ ݱʹԠͯ͡ॊೈʹબ
ࠓճͷεϥΠυͰݴ͍͍ͨ͜ͱ ςετΛॻ͍ͯ ʮ֬ೝ࡞ۀͷࣗಈԽʂʯ ʮ࣮Ϩϕϧ্ʂʯ ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠