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
Quick/Nimbleをより快適に使うために/quick-nimble-more-useful
Search
Yusuke Hosonuma
December 05, 2017
Programming
1
4.9k
Quick/Nimbleをより快適に使うために/quick-nimble-more-useful
iOS Test Night #6 での発表。
https://testnight.connpass.com/event/69396/
Yusuke Hosonuma
December 05, 2017
Tweet
Share
More Decks by Yusuke Hosonuma
See All by Yusuke Hosonuma
KotlinTest で始める Property-based Testing/kotlintest-property-based-testing
yusukehosonuma
2
1.4k
Marzipan の正体は何だったのか そして SwiftUI の衝撃/wwdc19_marzipan_swiftui
yusukehosonuma
2
840
標準パッケージにおけるテストでの利用例から学ぶ testing / quick パッケージ/golang-testing-quick
yusukehosonuma
4
11k
Swift で ParameterizedTest をやってみた話/swift-parameterized-test
yusukehosonuma
4
2k
Property-based test beginning with SwiftCheck
yusukehosonuma
1
5.4k
XCTest(再)入門/reintroduction-to-xctest
yusukehosonuma
0
400
ソースコードから読み解く - Quick はどのように実装されているのか?/quick-code-reading
yusukehosonuma
7
11k
Swift 4.2 はどのような進化をしているのか/whats-new-swift42
yusukehosonuma
16
14k
HTTPモックライブラリ「Mockingjay」を使ってみた話/swift-mockingjay
yusukehosonuma
5
3.7k
Other Decks in Programming
See All in Programming
Jakarta EE meets AI
ivargrimstad
0
580
受け取る人から提供する人になるということ
little_rubyist
0
230
CSC509 Lecture 11
javiergs
PRO
0
180
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.1k
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
330
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
310
役立つログに取り組もう
irof
28
9.6k
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
1.8k
Amazon Qを使ってIaCを触ろう!
maruto
0
400
Ethereum_.pdf
nekomatu
0
460
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
290
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
530
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Producing Creativity
orderedlist
PRO
341
39k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Music & Morning Musume
bryan
46
6.2k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Designing for Performance
lara
604
68k
A designer walks into a library…
pauljervisheath
203
24k
Ruby is Unlike a Banana
tanoku
97
11k
Building Your Own Lightsaber
phodgson
103
6.1k
Designing the Hi-DPI Web
ddemaree
280
34k
Become a Pro
speakerdeck
PRO
25
5k
Optimizing for Happiness
mojombo
376
70k
Transcript
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. iOS Test Night
#6 1प 2017/12/05 (Tue) ࡉপ ༞հ@DeNA 2VJDL/JNCMFΛ ΑΓշదʹ͏ͨΊʹ 1
˙:VTVLF)PTPOVNBʢ!UPCJʣ • ॴଐ ⁃ %F/"ɹ48&5άϧʔϓɹςετج൫νʔϜ • 'BWPSJUF ⁃ •
ۙگ ⁃ J04%$Ͱ-5ʢ#MVFQJMMʣ ⁃ ԶίϯWPMʢςετۦಈ։ൃʣ ⁃ ,PUMJO͡Ί·ͨ͠ ⁃ ,PUMJO͔Θ͍͍Αʂʢ4XJGUʁʣ ࣗݾհ Copyright (C) DeNA Co.,Ltd. All Rights Reserved. 2
ࠓɺ͢͜ͱ 3 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
2VJDL/JNCMF ΛΑΓշదʹ͍͍ͨ 4 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
ϥΠϒίʔσΟϯάΛަ͑ͳ͕Β
ΞδΣϯμ 5 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. •
2VJDL/JNCMFͱʁ • ೖ • ՝ • ղܾํ๏ͷࡧ • ϥΠϒίʔσΟϯά • ·ͱΊ
2VJDLͱ 6 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
Quickͱʁ 7 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. •
4XJGUͷςεςΟϯά'8 • #%%ʢ#FIBWJPS%SJWFO%FWFMPQNFOUʣ • 5%%͔Βੜ • ৼΔ͍ʹணͯ͠ςετΛॻ͜͏ • 34QFDͳͲʹΠϯεύΠΞ • ςετΛߏԽͯ͠هड़Ͱ͖Δ
ςετͷߏԽʁ 8 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
ςετͷߏԽʁ 9 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ςετ֓ཁʢEFTDSJCFʣ
ςετ݅ʢDPOUFYUʣ ظ݁ՌʢJUʣ "1*ʢ%4-ʣʹΑͬͯ ߏԽΛڧ੍Ͱ͖Δ
/JNCMFͱ 10 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
Nimbleͱʁ 11 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. •
2VJDLͱҰॹʹΘΕΔ.BUDIFS'8 • "TTFSUJPOϥΠϒϥϦ • ࣗવͳӳจͷΑ͏ͳ"1* • ࣦഊ࣌ͷΤϥʔϝοηʔδ͔Γ͍͢
.BUDIFSʁ 12 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
Matcherʁ 13 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. expect(array).toNot(contain(3))
&YQFDUBSSBZUPOPUDPOUBJO ؚ͕·Εͳ͍͜ͱΛظ͕ͨ͠ɺ݁Ռ< > ҙਤ͕ಡΈ͍͢ςετίʔυ ࣦഊ࣌ͷΤϥʔϝοηʔδ͔Γ͘͢
Quick / Nimble ͷར·ͱΊ 14 Copyright (C) DeNA Co.,Ltd. All
Rights Reserved. • ςετͷߏԽ • "1*ʹΑͬͯॻ͖ํ͕౷Ұ͞ΕΔ • ςετΛॻ͘ͱ͖ʹ໎Θͳ͍ • ಡΈ͍͢ςετίʔυ • ࣗવͳӳจͰςετͷҙਤ͕͔Γ͍͢ • Τϥʔϝοηʔδʹ
Α͠ɺϝϦοτ͔ͬͨɻ σϝϦοτʁ 15 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
͜͜େ
Quick / Nimble ͷσϝϦοτ 16 Copyright (C) DeNA Co.,Ltd. All
Rights Reserved. ᶃֶशίετ͕ߴ͍ ᶄ*%&ͷิ͕ޮ͖ʹ͍͘ ᶅҰཡΛ֬ೝͮ͠Β͍ ࢲ͕࠷ॳʹࢼͨ࣌͠ʹ ײͨ͜͡ͱ ͜Εհ͚ͩ վળํ๏Λࡧ
ᶃֶशίετ 17 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
ެࣜͷREADME 18 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ͳΜ͔εοΩϦͯ͠Δ͠ɺ͘͠ͳͦ͞͏ʂ
υΩϡϝϯτΛಡ͏ͱ͢Δͱɾɾɾ 19 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. 2VJDLͷ࣍
/JNCMFͷ࣍
υΩϡϝϯτΛಡ͏ͱ͢Δͱɾɾɾ 20 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. 2VJDLͷ࣍
/JNCMFͷ࣍ ͦΕͳΓͷ υΩϡϝϯτྔʜʂ
ᶃֶशίετֻ͕͔Δ 21 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. •
9$5FTU΄Ͳ୯७Ͱͳ͍ • υΩϡϝϯτͷྔ݁ߏ͋Δ • #%%ʹ׳Ε͍ͯͳ͍ͱݦஶ
ᶄ*%&ͷิ͕͖͖ʹ͍͘ 22 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
IDE ͷิɹέʔεᶃ 23 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
͑ʔͱɺظ݁ՌFYQʜͦ͏ͦ͏ίϨͩʂ
IDE ͷิ͕ඍົɹέʔεᶃ 24 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
͑ʔͱɺظ݁ՌFYQʜͦ͏ͦ͏ίϨͩʂ ෆਖ਼ղʂ ͜Ε9$5FTUͷ"1*
IDE ͷิ͕ඍົɹέʔεᶄ 25 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
͑ʔͱɺFYQFDUͷ࣍UPͰɾɾɾ ͑ʔͱɾɾɾʢࢥߟఀࢭʣ
IDE ͷิ͕ඍົɹέʔεᶄ 26 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
͑ʔͱɺFYQFDUͷ࣍UPͰɾɾɾ ͑ʔͱɾɾɾʢࢥߟఀࢭʣ ϝιουνΣʔϯ͕ΕΔͷͰ ิ͕ޮ͔ͳ͘ͳΔʂ
ᶄ*%&ͷิ͕͖͖ʹ͍͘ 27 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. •
طଘͷ"1*ͱࣅ͍ͯΔ໊લʢ͍͜͠ʣ • ϝιουνΣʔϯ͕ΕͯิͰ͖ͳ͍ • ੩తܕ͚ͳͷʹπϥΠ
ᶅҰཡΛ֬ೝɾҠಈͮ͠Β͍ 28 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
XCTest ͷ߹ 29 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
$USM બ͢Εͦ͜ʹҠಈͰ͖Δʂ
Quick ͷ߹ 30 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
$USM ɾɾɾɻ 9DPEFʢͨΓલ͚ͩͲʣ ϝιουͷҰཡ͔͠ग़ͯ͘͠Εͳ͍
ᶅҰཡΛ֬ೝɾҠಈͮ͠Β͍ 31 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. •
9$5FTU • $USM ͰςετҰཡ͕ݟΕΔ • બ͢ΕҠಈग़དྷΔ • 2VJDL • *%&ͷαϙʔτͳ͠ Կ͔ྑ͍ํ๏͕͋Ε ڭ͍͑ͯͩ͘͞NN
গ͠ͰղফͰ͖ͳ͍ʁ 32 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ͪΐͬͱߟ͑ͯΈ·ͨ͠
ᶃϥούʔ"1*Λ࡞Δ 33 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
UPΛೖྗͨ͠ޙʹࢥߟఀࢭ͢Δ 34 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ͑ʔͱɺFYQFDUͷ࣍UPͰɾɾɾ
ɾɾɾʢࢥߟఀࢭʣ
ࢼ͠ʹϥούʔΛॻ͍ͯΈͨ 35 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. &YQFDUBUJPOͷ؆қͳ֦ு
ೖྗิΛͯ͠ΈΔͱʁ 36 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ิީิʹग़ͨʂ
͜ΕͰʮUPʯ·Ͱ͍֮͑ͯΕɺ Ұཡ͔Βతͷ"1*Λ୳ͤΔΑ͏ʹͳͬͨʂ
ᶄεχϖοτΛ࡞Δ 37 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
ೖྗ͕໘ͳ 38 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ͑ʔͱɺظ݁ՌFYQʜͦ͏ͦ͏ίϨͩʂ
ෆਖ਼ղ
εχϖοτΛ࡞Δ 39 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. γϣʔτΧοτͷઌ಄ʹ
ଞ"1*ͰΘΕͳ͍Α͏ͳʮYYʯ ͜͜ʹ͋Δͭ
YYͱೖྗ͢Δͱʁ 40 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ೖྗ͖͢ϓϨʔεϗϧμͰ
͔ΔͷͰɺॳ৺ऀͰؒҧ͑ͳ͍ʂ ઌ಄ʹީิ͕ग़ͨʂ
EFTDSJCFDPOUFYUJUɹొͯ͠Έͨ 41 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ʮ[[ʯͰγϣʔτΧοτ
Γॳ৺ऀʹ͍͞͠ʂ
Quick / Nimble ͷσϝϦοτ 42 Copyright (C) DeNA Co.,Ltd. All
Rights Reserved. ᶃֶशίετֻ͕͔Δ ᶄ*%&ͷิ͕ޮ͖ʹ͍͘ ᶅҰཡΛ֬ೝͮ͠Β͍ গ͠վળͰ͖ͨʁ ݁ՌϥΠϒίʔσΟϯάʹͯʂ
ϥΠϒίʔσΟϯά 43 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
·ͱΊ 44 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
·ͱΊ 45 Copyright (C) DeNA Co.,Ltd. All Rights Reserved. •
2VJDL/JNCMF • ςετΛߏԽɾಡΈ͘͢ • ֶशίετɺ*%&ิͳͲͷ՝͋Δ • ରࡦ • ϥούʔ"1*ɾεχϖοτͰվળ • εχϖοτνʔϜͰڞ༗Ͱ͖Δ • ͍ • ಓ۩Λ͍͜ͳ͍͖͍ͯͨ͠
&OKPZEFWFMPQNFOU XJUI#%% 46 Copyright (C) DeNA Co.,Ltd. All Rights Reserved.