Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
0
94
Test With Xcode Server
Pin-Shih Wang
July 01, 2014
Tweet
Share
More Decks by Pin-Shih Wang
See All by Pin-Shih Wang
iOS Extension
wpsteak
4
470
A tip for using magical record
wpsteak
0
130
CI with Git Flow
wpsteak
2
240
a lighter reusable cell
wpsteak
0
72
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
98
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.7k
We Have a Design System, Now What?
morganepeng
54
7.9k
A better future with KSS
kneath
240
18k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Ethics towards AI in product and experience design
skipperchong
1
140
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
67
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Exploring anti-patterns in Rails
aemeredith
2
200
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
180
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
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