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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
masyus_work
January 11, 2019
Programming
0
200
メール文面確認テストを作りながら、テストについて改めて考えてみた
masyus_work
January 11, 2019
Tweet
Share
More Decks by masyus_work
See All by masyus_work
ふりかえりとチームクレドが僕らにもたらしてくれたもの
masyus
2
340
【オンライン】Clean Architecture 達人に学ぶソフトウェアの構造と設計 輪読会 #16
masyus
0
160
Clean Architecture 達人に学ぶソフトウェアの 構造と設計_第10回
masyus
0
250
【オンライン】Clean Architecture 達人に学ぶソフトウェアの構造と設計 輪読会 #1
masyus
0
190
テスト駆動開発 輪読会 Vol.5
masyus
0
180
Chrome拡張で便利ツール作ってたら、思いがけず社内ツールを作ることになった話
masyus
0
160
開発速度UP & エンジニアポートフォリオ作成を同時実現する為の取り組み
masyus
0
200
Other Decks in Programming
See All in Programming
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
340
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
250
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
640
Windows on Ryzen and I
seosoft
0
410
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
170
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
200
ロボットのための工場に灯りは要らない
watany
12
3.2k
Codex の「自走力」を高める
yorifuji
0
1.3k
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
3.2k
Understanding Apache Lucene - More than just full-text search
spinscale
0
140
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
190
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.4k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
130
A better future with KSS
kneath
240
18k
Paper Plane (Part 1)
katiecoart
PRO
0
6k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Why Our Code Smells
bkeepers
PRO
340
58k
Rails Girls Zürich Keynote
gr2m
96
14k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
420
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
250
Transcript
MASYUS ϝʔϧจ໘֬ೝςετΛ࡞Γͳ͕Βɺ ςετʹ͍ͭͯվΊͯߟ͑ͯΈͨ
ࠓΑΖ͓͘͠ئ͍͍ͨ͠·͢ʂ
ϝʔϧจ໘վमʹؔ͢Δ՝ ʮಥવͰ͕͢ɺ Ұʹଟͷϝʔϧจ໘ͷվमͱฉ͍ͯ ͋ͳͨͲ͏ײ͡·͔͢ʁʯ
ϝʔϧจ໘վमʹؔ͢Δ՝
ϝʔϧจ໘վमʹؔ͢Δ՝ վम༰؆୯ͳ͜ͱ͕ଟׂ͍ʹɺ ಈ࡞֬ೝʹ͕͔͔࣌ؒΓ͍͢ͷ ͕ ಛघͳ݅Ͱͳ͍ͱૹ৴Ͱ͖ͳ͍ϝʔϧ͋Δҝɺ ༷ΛѲ͍ͯ͠ͳ͍ͱେม ʢDBͷϨίʔυࡉ͔͘ૢ࡞͠ͳ͍ͱ͍͚ͳ͔ͬͨΓʣ
ϝʔϧจ໘վमʹؔ͢ΔιϦϡʔγϣϯ ʮͦ͏ͩɺςετΛॻ͜͏ʯ
ςετ ʲςετͷ֓ཁʳ ୯ମςετ(Ϣχοτςετ)ͷ ࣗಈԽΛߦ͏ͨΊͷϑϨʔϜϫʔΫ 1. JavaɿJUnit 2. PHPɿPHPUnit
ςετ ʲςετΛ࡞ΔͱԿ͕ྑ͍ͬͯʁʳ 1. ಈ࡞֬ೝͷࣗಈԽ 2. ࣮ํͷ໌֬Խ 3. ૄ݁߹ͳ࣮Λ͢Δߟ͑ํ͕ʹͭ͘
ςετ PHPUnitͷ࣮ࣄྫ ʢ࣮ࡍʹίʔυݟͤ·͢ʣ
ςετ TDDʢςετۦಈ։ൃʣ ϓϩάϥϜ։ൃख๏ͷҰछͰɺϓϩάϥϜʹඞཁͳ֤ػೳ ʹ͍ͭͯɺ࠷ॳʹςετΛॻ͖ʢ͜ΕΛςετϑΝʔετͱ ݴ͏ʣɺͦͷςετ͕ಈ࡞͢Δඞཁ࠷ݶͳ࣮ΛͱΓ͋ ͑ͣߦͬͨޙɺίʔυΛચ࿅ͤ͞Δɺͱ͍͏͍ఔΛ܁ Γฦ͢ελΠϧͰ͋Δɻ
ςετ
࣮ࡍɺελʔτΞοϓͷݱʹ͓͍ͯ ʮ࣮͕ઌ͔ɺςετ͕ઌ͔ʁʯ ݱʹԠͯ͡ॊೈʹબ
ࠓճͷεϥΠυͰݴ͍͍ͨ͜ͱ ςετΛॻ͍ͯ ʮ֬ೝ࡞ۀͷࣗಈԽʂʯ ʮ࣮Ϩϕϧ্ʂʯ ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠