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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
120
印西市創業実践プログラム2026 【AI活用講座】
jollyjoester
0
66
AI時代でも変わらない技術コミュニティの力 ~10年続く"ゆるい"つながりが生み出す価値~
jollyjoester
0
37
AIコードアシスタントとiOS開発
jollyjoester
1
390
市民のためのセキュリティ講座
jollyjoester
0
120
コミュニティMTG in WWDC24
jollyjoester
0
390
BengaluruでLTしてきた
jollyjoester
0
420
try! Swift Tokyo 2024
jollyjoester
0
420
エンジニアが直接会う場の価値について
jollyjoester
8
4.7k
Other Decks in Technology
See All in Technology
20260912_スクラムにジェネラリストは必要か
ryugen04
0
400
Screen Lens - 今見てる画面を翻訳する
komagata
0
270
「守り」で活用するオンデバイスLLM 〜写ってはいけないを総力戦で防ぐ〜 / iOSDC Japan 2026
nakamuuu
0
140
Deploying a Full-Stack Bun-Native Framework on Cloudflare Workers
7nohe
0
160
Genieを崇めよ
kameitomohiro
0
110
おい、エージェントを使って終わらせろ
nwiizo
0
170
omasushiというライブラリを作った
polidog
PRO
0
220
作品が生態系になった ─ Mini Tokyo 3D から世界へ
nagix
0
180
AIオーケストレーションを活用した 開発ワークフローの設計と実践
bqnq
0
170
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
8
800
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
1
830
Adaptive Warehouse を今すぐ導入すべき理由と迷ったときの判断基準
__allllllllez__
0
220
Featured
See All Featured
Making Projects Easy
brettharned
120
6.7k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
190
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
450
Statistics for Hackers
jakevdp
799
230k
Amusing Abliteration
ianozsvald
1
300
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
740
Building Applications with DynamoDB
mza
96
7.2k
WCS-LA-2024
lcolladotor
0
830
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
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ʂ