2. 2
• Release IPhone 7 and IOS 10
• Drop UIAutomation Template in Instruments 8.0
Apple
• Smoke and Functional Test Refined
• Performance Lab Refine
• Monkey Test Refine
• CD Pipeline Refine
Store
• Smoke and Functional Test Refined very important
• Decision a UI Test FrameworkUITest
4. Yahoo奇摩超級商城 APP
■ 上線至今 3 年
■ APP 下載次數 : 100多萬
■ Unit Test : 805 per
■ YQL Test : 102 per
■ Smoke Test Cases : 50 per
■ Functional Test Cases : 500 ~ 600 per
4
5. Yahoo奇摩超級商城 APP
■ unit test 執行時間: 10 min
■ YQL 執行時間: 15 min
■ Smoke Test 執行時間: 25 min
■ Functional Test 執行時間: 53 min
■ Test Suite
■ Kiwi
■ TestNG
■ UIAutomation
5
6. Yahoo奇摩超級商城 APP
■ Framework Advantange
■ UI Test speed up
■ Developer can be help
■ Code can’t complex
■ Synchronizing
■ Result are consistent and reliable
6
8. Yahoo奇摩超級商城 APP
■ Earl Grey is an UI Automation Test Framework
■ Enable you to write clear and concise tests
■ Google internal UI Testing framework
■ Use in Youtube, Google Calendar
Google Photos, Google translate
■ Recently open sourced
8
10. Yahoo奇摩超級商城 APP
■ How Earl Grey works
■ EarlGrey runs in the same process at the app under test,
and has access to the same memory as the app
■ User private methods to learn view
hierarchy and inject touches
■ Works in conjunction with the
XCTest Framework
10
11. Yahoo奇摩超級商城 APP
■ Interaction APIs
■ Selection API
Selecting an element to interact
■ Action API
Performing an action on it
■ Assertion API
Making an assertion to verify state
11
27. Yahoo奇摩超級商城 APP
■ Known Issues
■ Can’t interact with system dialogs
■ No 3D Touch support
■ No deep link and universal link support
■ No today widget and notification support
27