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
Swiftのテストフレームワーク Quickを使ってみよう!
Search
jollyjoester
June 20, 2015
Technology
2.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Swiftのテストフレームワーク Quickを使ってみよう!
Swiftビギナーズ勉強会 2015/06/20 @コワーキングスペース茅場町 Co-Edo
jollyjoester
June 20, 2015
More Decks by jollyjoester
See All by jollyjoester
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
140
印西市創業実践プログラム2026 【AI活用講座】
jollyjoester
0
71
AI時代でも変わらない技術コミュニティの力 ~10年続く"ゆるい"つながりが生み出す価値~
jollyjoester
0
39
AIコードアシスタントとiOS開発
jollyjoester
1
390
市民のためのセキュリティ講座
jollyjoester
0
120
コミュニティMTG in WWDC24
jollyjoester
0
400
BengaluruでLTしてきた
jollyjoester
0
420
try! Swift Tokyo 2024
jollyjoester
0
420
エンジニアが直接会う場の価値について
jollyjoester
8
4.7k
Other Decks in Technology
See All in Technology
AIによるクリエイティブ生成を行う上での試行錯誤
plaidtech
PRO
0
180
SREへの勘違いに気づいた後の話
tomodakengo
0
150
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
4
3.7k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
16
120k
Antigravity SDK for the Java Developer
glaforge
0
180
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
Kiro Meetup #8 Kiro アップデート (2026/3/21〜2026/9/24)
katzueno
1
150
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
550
30座EKS, 180次升級淬煉的EKS Upgrade Skill 的歷程
eric8230
0
210
The Knowledge Spine: A Machine-Executable Ontology for Governed Marketing Activation
vananth22
0
120
ScotSecure West 2026 - Glasgow
raybugg
0
150
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
1
620
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
The Language of Interfaces
destraynor
162
27k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
250
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
480
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Typedesign – Prime Four
hannesfritz
42
3.2k
The SEO Collaboration Effect
kristinabergwall1
1
570
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Deep Space Network (abreviated)
tonyrice
0
320
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
770
Transcript
SwiftͷςετϑϨʔϜϫʔΫ QuickΛͬͯΈΑ͏ʂ SwiftϏΪφʔζษڧձ 2015/06/20
• ࣣౡҒ೭ʢͳͳ͠·ͻͰΏ͖ʣ • Repro.Inc / ྑΤϯδχΞ • iPhone / Android
• Java -> Objective-C -> Swift
https://repro.io/
Repro
ຊॻ͖·ͨ͠ʂ • 2015/04/10ɹٕज़ධ͔ࣾΒൃച ೦ͳ͕ΒSwift1.1࣌ Ͱਖ਼ޡදͱαϯϓϧϓϩάϥϜSwift1.2ରԠ
Quick is a behavior-driven development framework for Swift and Objective-C
Inspired by RSpec, Specta, and Ginkgo.
behavior-driven development BBD? ϓϩάϥϜͷಈ࡞͕ਖ਼͍͔͠Ͳ͏͔Λݕূ͢ΔͨΊʹߦ͏ʮςετʯ + ظ͞ΕΔʮৼΔ͍ʯʮ੍݅ʯΛࣗવݴޠͰซه from wikipedia
Example https://github.com/Quick/QuickͷυΩϡϝϯτΑΓ
ͬͦ͘͞ಋೖͯ͠ΈΑ͏ • Xcode6.3 & Swift1.2 • ಋೖํ๏ • Git Submodules
• CocoaPods ← ࠓճ͍ͭ͜Ͱ(※Version 0.36.0 Ҏ্͕ඞཁ) • Carthage
New project ͋Γ͕ͪͳQuickSampleͱ͓ͯ͘͠
pod install Podfile target : ςετϓϩδΣΫτͷTarget use_frameworks! : SwiftΛ͏ͷʹඞཁ pod
‘Quick’, ‘0.3.0’ : Swift1.2Ͱ͑Δόʔδϣϯ pod ‘Nimble’ : QuickͰ͏Matcher
Build Settings Build Settings -> Defines ModuleΛYESʹ
͋Γ͕ͪͳܭࢉΫϥεΛ࡞ͬͯΈΔ ςετ͢Δclass, methodpublicʹ
ςετΫϥε࡞ Alcatraz͔ΒTemplateΠϯετʔϧͰ͖ΔΑ
import module • ͖ͬ͞Defines ModuleΛYESʹͨ͠ͷͰ ·ΔͬͱςετTarget͔ΒࢀরͰ͖ΔΑ͏ʹͳΔ
ॳΊͯͷςετίʔυ
ςετ࣮ߦʂ Command + U ↓ ↓ ↓
Have nice Devʂ