Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

KKBOX WWDC17 Performance and Testing - Hokila

6,072 views

Published on

KKTV iOS 工程師 Hokila 分享
影片位置 https://youtu.be/khOrgVT6ivs
相關 Sessions
- [App Startup Time: Past, Present, and Future] (https://developer.apple.com/videos/wwdc2017/videos/play/wwdc2017/413/)
- [Writing Energy Efficient Apps] (https://developer.apple.com/videos/wwdc2017/videos/play/wwdc2017/238/)
- [Engineering for Testability] (https://developer.apple.com/videos/wwdc2017/videos/play/wwdc2017/414/)
- [What's New in Testing] (https://developer.apple.com/videos/wwdc2017/videos/play/wwdc2017/409/)

Published in: Technology
  • Prolong The Life Of Lithium-ion, Laptop, and Cell Phone Batteries.. ◆◆◆ http://t.cn/AiFAb0DL
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1url.pw/OknYF ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download Full doc Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download PDF EBOOK here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download Full doc Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download PDF EBOOK here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/tba9jtb } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1url.pw/OknYF ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

KKBOX WWDC17 Performance and Testing - Hokila

  1. 1. 詹岳勳 Hokila WWDC session summary
  2. 2. App Startup Time: Past, Present, and Future Writing Energy Efficient Apps 
 
 
 What's New in Testing Engineering for Testability
  3. 3. feature Improvement you may never use Some Energy you may waste in background
 
 
 UI Test & Unit Test New feature on Xcode 9 Test Code Best Practice
  4. 4. What is Dyld the dynamic link editor
  5. 5. 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
  6. 6. Static initializer tracing find out what is slowly as same time profile
  7. 7. energy efficient app setting -> battery
  8. 8. Reloads on a timer
  9. 9. Async test before
  10. 10. • 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.
  11. 11. •pxctest
 https://github.com/plu/pxctest •FBSimulatorControl
 https://github.com/facebook/FBSimulatorControl

  12. 12. 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
  13. 13. Multiple app test 
 sample code
  14. 14. Multiple app test Demo

×