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
Test With Xcode Server
Search
Pin-Shih Wang
July 01, 2014
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Test With Xcode Server
Pin-Shih Wang
July 01, 2014
More Decks by Pin-Shih Wang
See All by Pin-Shih Wang
iOS Extension
wpsteak
4
490
A tip for using magical record
wpsteak
0
170
CI with Git Flow
wpsteak
2
270
a lighter reusable cell
wpsteak
0
90
Featured
See All Featured
KATA
mclloyd
PRO
35
15k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
420
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
Code Review Best Practice
trishagee
74
20k
Typedesign – Prime Four
hannesfritz
42
3.1k
A Tale of Four Properties
chriscoyier
163
24k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Ethics towards AI in product and experience design
skipperchong
2
340
Paper Plane (Part 1)
katiecoart
PRO
1
10k
How GitHub (no longer) Works
holman
316
150k
Transcript
About Test
Why Test • ⼿手動測試很沒有效率 • ⼈人重複做相同的事情很有可能會出錯 • 機器不會偷懶
Xcode’s framework for testing OCUnit XCTest
None
None
Xcode’s framework for testing OCUnit XCTest
None
None
Xcode Integration • Command + U • Button in the
Source Editor side bar • Button in the Test Navigation
None
Demo
Testing & CI in Xcode 6
Xcode Project Test 概況 xcodebuild xcrun
Xcode Project Test 概況 xcodebuild xctool xcrun xcode plugin
WWDC 2013 • 2013 秋天 • Xcode 4.1 -> 5.0
None
過了半年 • 今年春天 • Xcode 5.0 -> 5.1
None
才過了三個⽉月 • 今年夏天 • Xcode 5.1 -> 6.0
WWDC 2014 • OSX 10.10 • Xcode6 beta • iOS
8
Xcode Project Test 概況 xcodebuild xctool ? xcode plugin ?
Xcode Project Test 概況 xcodebuild
None
None
2013
2014
2013
2014
None
Xcode6: XCTest • Xcode 5 -> 2013 夏天 正式發佈 •
不⽀支援 asynchronous • Xcode 6 -> 今年夏天 • ⽀支援 asynchronous
Writing Performance Tests • A performance test takes a block
of code that you want to evaluate and runs it ten times, collecting the average execution time and the standard deviation for the runs. • These statistics combine to create a baseline for comparison, a means to evaluate success or failure.
None
None
None
None
None
Trigger
None
End