7. App Startup time
Things you may do in didFinishLaunchingWithOptions
•load user setting
•set appearance
•init view controller
•load 3rd party module
•it’s better to finish in 600ms
40. • XCTWaiter : Takes control over to the waiting
strategy.
• XCTNSPredicateExpectation: Readable expectation
while writing automate tests
• XCTKVOExpectation: Readable expectation while
writing automate tests
• XCTDarwinNotificationExpectation: Another readable
expectation for notifications.
42. headless test with xcodebuild without launch of sumulator
$ xcodebuild -scheme "Xcode9-XCTest" -destination
'platform=iOS Simulator,name=iPhone 7 Plus,OS=11.0'
build test CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO
Run Test in parallel
$ xcodebuild -scheme "Xcode9-XCTest" -destination
'platform=iOS Simulator,name=iPhone 7 Plus,OS=11.0'-
destination 'platform=iOS Simulator,name=iPhone 7
Plus,OS=10.3' build test CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO