Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
Getting started with XCUITest and Espresso
January 2019
2
We will send you a recording of this session after the webinar
Please write your questions in the Q&A pane
Before we start Start testing for free
www.experitest.com
Speakers
3
Ruth Zamir
Director of Marketing
Guy Arieli
CTO
Agenda
4
Why XCUITest and Espresso?01 10 min
How to create tests in Espresso and XCUITest03 20 min
02 Espresso and XCUITest vs. Appium 10 min
Q&A04 10 min
5
Short release cycles is driving DevOps and Shift Left
• Testing starts early – together with development
• Developers performing more testing
– Prior to commit (git pull request)
– Part of build process
• Automation engineers and developers work together
Dev and Test have never been closer
What are XCUITest and Espresso?
6
Android native test automation framework
“Use Espresso to write concise, beautiful, and reliable Android UI tests”
iOS native test automation framework
Part of XCTest dedicated to UI testing
7
Developers
• Part of the IDE
• Support Unit testing
• Fast
• Stable
Why prefer native tools?
Test Engineers
• Fast
• Stable
• The tools that developers use(allowing test reuse)
Agenda
8
Why XCUITest and Espresso?01 10 min
How to create tests in Espresso and XCUITest03 20 min
02 Espresso and XCUITest vs. Appium 10 min
Q&A04 10 min
Appium Espresso XCUITest
Owner Open source Google / open source Apple
Scope Cross platform Android iOS
App type Native, hybrid, web Native, hybrid Native
Languages Java, C#, Ruby, Python Java / Kotlin Swift / Objective-C
Source required? No Yes Yes
Out of app Android – yesiOS – no
No No
Speed Slow Fast Medium
Setup Hard Easy Medium
Usage Hard (previous selenium knowledge helps)
Easy for dev, Medium for SDET
Medium
Stability Low High Medium
CI integration Hard Medium Hard
Espresso and XCUITest vs. Appium
9
Appium Espresso XCUITest
Owner Open source Google / open source Apple
Scope Cross platform Android iOS
App type Native, hybrid, web Native, hybrid Native
Languages Java, C#, Ruby, Python Java / Kotlin Swift / Objective-C
Source required? No Yes Yes
Out of app Android – yesiOS – no
No No
Appium Espresso XCUITest
Owner Open source Google / open source Apple
Agenda
10
Why XCUITest and Espresso?01 10 min
How to create tests in Espresso and XCUITest03 20 min
02 Espresso and XCUITest vs. Appium 10 min
Q&A04 10 min
11
Demo
12
Agenda
13
Why XCUITest and Espresso?01 10 min
How to create tests in Espresso and XCUITest03 20 min
02 Espresso and XCUITest vs. Appium 10 min
Q&A04 10 min
Summary
Native tools offer benefits:
• Tied in with development
• Fast
• Stable
But have drawbacks
• Platform dependent
• Require specific language skills
14
Adoption of native tools depends on application and organizational structure