16
Getting started with XCUITest and Espresso January 2019

Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

Getting started with XCUITest and Espresso

January 2019

Page 2: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 3: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

Speakers

3

Ruth Zamir

Director of Marketing

Guy Arieli

CTO

Page 4: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 5: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 6: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 7: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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)

Page 8: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 9: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 10: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 11: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

11

Demo

Page 12: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

12

Page 13: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 14: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

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

Page 15: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?
Page 16: Getting started with XCUITest and Espresso · Getting started with XCUITest and Espresso January 2019. 2 ... Director of Marketing Guy Arieli CTO. Agenda 4 01 Why XCUITest and Espresso?

Questions?▪Schedule a meeting to see how Experitest can help:

[email protected]

16