Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
introduce unit testing
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
takattata
April 13, 2018
Programming
600
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
introduce unit testing
shibuya.apk #24
takattata
April 13, 2018
More Decks by takattata
See All by takattata
What's DDD?
takattata
5
930
Kotlinのコントリビュートに挑戦してみたよ!
takattata
3
310
導入画面を実装したよ
takattata
1
2.1k
AndroidXに移行しようと`してみた`!
takattata
2
740
Flutterテストことはじめ
takattata
1
870
Flutter
takattata
3
1.7k
ディープリンクを実装した
takattata
1
1.9k
xUnit Test Patterns の序章
takattata
1
400
プロジェクトの1ファイルに単体テストを書いてみた!〜本当にこれで合ってるの…??🤔〜
takattata
0
2.5k
Other Decks in Programming
See All in Programming
Family mrubyの進捗
kishima
1
130
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
190
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2k
速習iPhone Duo対応
yuukiw00w
1
590
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
1
150
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
4
2.5k
Java 27新機能 / Java 27 new features
kishida
2
150
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
7.3k
WebAssembly in Android Apps 〜 WASMはJNIの夢を見るか
keiji
1
110
アクセシビリティから考える情報設計
high_g_engineer
0
380
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
5
3.3k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
180
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
410
Optimising Largest Contentful Paint
csswizardry
37
4k
ラッコキーワード サービス紹介資料
rakko
1
4.9M
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Typedesign – Prime Four
hannesfritz
42
3.2k
Odyssey Design
rkendrick25
PRO
2
810
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Paper Plane
katiecoart
PRO
4
53k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
The Mindset for Success: Future Career Progression
greggifford
PRO
0
500
Transcript
1 @shibuya.apk #24 ୯ମςετΛ Α͏͘ೖΕͨʂ Takasy @takattata ··ͷͯ͘Μ(Ծ) ຬΛ࣌ͯ͠ҭࣇϞʔυʹొ ϚϚ͞Μ͔ΒΤϯδχΞ·Ͱ༊͢ڧྗͳ༊͠Ωϟϥ
2 Do you write unit tests? ୯ମςετॻ͍͍ͯ·͔͢ʁ
3 ͜ͷ-5Ͱ Ұߦ ςετΛॻ͚ΔΑ͏ʹͳΔʂʂ ͱࢥ͍·͢ɺଟ ˞࣭֎ࢹ ୯ମςετॻ͍͍ͯ·͔͢ʁ
4 ˞ͱ͍ͬͯࣗͷࣝྔ ୯ମςετॻ͍͍ͯ·͔͢ʁ ɾຊΛ͞ΒͬͱಡΜͩ͜ͱ͕͋Δ ɾ3Y4XJGUΛ͍ͬͯΔJ04ͷςετΛগ͠ॻ͍ͨ ͜ͱ͕͋Δ
5 Part that I introduced ಋೖͯ͠ΈͨՕॴ
6 ɾ,PUMJO ɾ$MFBO"SDIJUFDUVSF ɾ3Y+BWB ɾ,PEFJO ɾ""$7JFX.PEFM -JWF%BUB ಋೖͯ͠ΈͨՕॴ ʮ··ͷͯʯͷߏ
7 ର%PNBJO %BUB ಋೖͯ͠ΈͨՕॴ 6TF$BTF&OUJUZΛ.PEFMʹͯ͠7.ʹ͢ 3FQPTJUPSZ%BUB4UPSFΛ͏*' %BUB4UPSF %BP &OUJUZΛऔಘ͢Δ
8 ର%PNBJO %BUB ಋೖͯ͠ΈͨՕॴ ࠓճॻ͍ͨͷɺ ᶃΫϥεΛ.PDLͰ࡞͢Δ ᶄ4JOHMF 3Y ͷΛςετ͢Δ ᶅಛఆͷ͕ؔݺͼग़͞Ε͔ͨΛ֬ೝ͢Δ
9 ͬͨϥΠϒϥϦ ಋೖͯ͠ΈͨՕॴ ɾ+6OJU ɾ.PDLJUP
10 .PDLJUP ಋೖͯ͠ΈͨՕॴ ɾpOBMͷճආ ࢀߟɿ%SPJE,BJHJͷιʔε ˞3PCPMFDUSJDΘΕ͍ͯΔ IUUQTHJUIVCDPN%SPJE,BJHJDPOGFSFODFBQQ
11 ಋೖͯ͠ΈͨՕॴ 6TF$BTF ϓϩμΫτίʔυ ςετίʔυ ᶃ ᶄ ᶅ
12 ಋೖͯ͠ΈͨՕॴ 3FQPTJUPSZ ϓϩμΫτίʔυ ςετίʔυ ᶃ ᶄ ᶅ
13 ಋೖͯ͠ΈͨՕॴ ˞ಾ%BUB4UPSF %BP ϓϩμΫτίʔυ
14 ಋೖͯ͠ΈͨՕॴ ςετίʔυ ˞ಾ%BUB4UPSF %BP
15 ಋೖͯ͠ΈͨՕॴ ςετίʔυ ˞ಾ%BUB4UPSF %BP ͜Ε.PDLͷςετʹͳͬͯͳ͍
16 What I can do / can not do ग़དྷ͍ͯΔ͜ͱ
/ ͍ͳ͍͜ͱ
17 ग़དྷ͍ͯΔ͜ͱ ग़དྷ͍ͯΔ͜ͱ͍ͳ͍͜ͱ ɾݺͼग़֬͠ೝ ग़དྷ͍ͯͳ͍͜ͱ ɾ'JSFCBTFͳͲαʔυύʔςΟ΄͔༻࣌ͷςετ ɾ3YͷPO&SSPSͷ࣌ͷςετ ͳͲͳͲ৭ʑ
18 Let’s write unit tests! ͜ΕͰօ͞Μ ࠓ͔ΒςετΛॻ͚·͢Ͷʂ Ұߦʂ
19 ˞ո͍͠7JFX.PEFM ಋೖͯ͠ΈͨՕॴ Ճ͢Δͷɿ ࢀߟɿhttp://hydrakecat.hatenablog.jp/entry/2016/12/12/ RxJava_%E3%81%AE%E3%83%86%E3%82%B9%E3%83%88%281%29%3A_TestSubscriber%2C_test%28%29%2C_TestScheduler → SubscribeଆͷεϨουΛίϯτϩʔϧ͢Δ
20 ಋೖͯ͠ΈͨՕॴ ˞ո͍͠7JFX.PEFM