Top Banner
webinar Building a Large- Scale In-House Test Lab for Mobile Apps 4 June 2014 Ville-Veikko Helppi Technical Product Manager [email protected]
40
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

webinar

Building a Large-Scale In-House Test Lab for Mobile Apps

4 June 2014Ville-Veikko Helppi

Technical Product [email protected]

Page 2: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

2

Agenda• Intro & Benefits: In-House Mobile App Testing• Challenges w/Apps, Devices, Testing & Market • Infrastructure – both Hardware & Software• Tips & Tricks for Building In-House Lab• Testdroid Update• Q&A

Agenda

Page 3: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

3

Agenda• Intro & Benefits: In-House Mobile App Testing• Challenges w/Apps, Devices, Testing & Market • Infrastructure – both Hardware & Software• Tips & Tricks for Building In-House Lab• Testdroid Update• Q&A

Agenda

Page 4: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

4

Manual vs. Automation

Smaller coverage, More money burnt & time wasted, Error-

prone

Large coverage, quickly

completed, Less money & time wasted, Exact

results.

Page 5: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

5

Prerequisites• Testing environment as authentic as possible– Real devices <-> emulators/simulators

• Test coverage needs to be adequate– Software is not identical in all Android/iOS devices– Hardware is even more fragmented landscape

• Surrounding testing conditions (e.g. network) • Try not to build in repetitive, manual processes

Page 6: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

6

In-House Mobile App Testing

• Continuous Testing with real devices• Cloud/Out-of-Premises vs. In-House• Improve app ratings & your brand reputation• Operational costs vs. Lost revenue?• Consequences of not-being-tested-enough?

Page 7: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

7

Reasons to Build In-House Labs

• Pre-Market devices or other hardware• Corporate security policies • Availability and usage level• Special setups

Page 8: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

8

Core Benefits of CI and Testing

• Version control and build revision• Build automation, instant execution & testing• All types of testing & integrations enabled• Frequent commits, Code consolidation -> Fast builds• CI/Testing is the best fit for mobile agile process

Page 9: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

9

Agenda• Intro & Benefits: In-House Mobile App Testing• Challenges w/Apps, Devices, Testing & Market • Infrastructure – both Hardware & Software• Tips & Tricks for Building In-House Lab• Testdroid Update• Q&A

Agenda

Page 10: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

10

Why Apps Fail?

Page 11: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

11

EXAMPLE: Android devices

Picture by OpenSignal 2013 - http://opensignal.com/reports/fragmentation-2013/

Page 12: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

12

EXAMPLE: Android OEMs

Picture by OpenSignal 2013 - http://opensignal.com/reports/fragmentation-2013/

Page 13: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

13

EXAMPLE: Android OS

Picture by OpenSignal 2013 - http://opensignal.com/reports/fragmentation-2013/

Page 14: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

14

OS Versions

ICS JB KK

17.7M test runs, 288 unique Android devices, 50+

configurations

Page 15: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

15

Display Resolution

17.7M test runs, 288 unique Android devices, 50+

configurations

Page 16: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

16

Memory

Page 17: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

17

Coverage? IS THAT ALL YOU NEED?

Picture by Double Encore - http://www.doubleencore.com/2014/05/android-user-data-2014/

Page 18: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

18

Data, results & setup information were gather between 1 January – 31 March 2014 (Q1’2014)

- 17.7M test/device runs- 288 unique devices- Thousands of users

AVAILABLE FOR

DOWNLOADwww.testdroid.com

Research

Page 19: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

19

Global Coverage

Page 20: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

20

Robust/Unstable – Q1’14The Most Robust Devices

Samsung Infuse 4G SGH-I997Lenovo A60Dell Streak 7 M02M001HTC ChaCha A810eCoolpad 7295Samsung Galaxy Europa GT-I5500Samsung Acclaim SCH-R880Motorola Motosmart XT389Sharp Aquos Phone Zeta SH-02ESamsung Galaxy mini GT-S5570

The Most Unstable Devices

Samsung Galaxy S IV Active SGH-I537 Sony Xperia J ST26i Samsung Galaxy S IV Altius SCH-R970 Samsung Galaxy S IV Altius SGH-M919Samsung Galaxy Note 8.0 GT-N5110 Samsung Galaxy S IV Altius SGH-I337 Samsung Galaxy Mega GT-I9205 HTC One M7 4.3 Asus Transformer Pad TF300TL Sony Xperia Acro S LT26w

99.805 %99.797%99.794%99.785%99.783%99.780%99.778%99.775%99.771%99.770%

29.722%36.376%39.007%41.455%43.284%44.737%45.536%45.794%47.689%50.576 %

Page 21: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

21

Agenda• Intro & Benefits: In-House Mobile App Testing• Challenges w/Apps, Devices, Testing & Market • Infrastructure – both Hardware & Software• Tips & Tricks for Building In-House Lab• Testdroid Update• Q&A

Agenda

Page 22: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

22

Hardware – Top 3 Things

• Device Control Servers– Hard disks– RAM– Energy Efficiency

• USB Hubs• WiFi Infrastructure

Page 23: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

23

Software – Top 3 Things

• Testdroid Enterprise

• Continuous Integration – e.g. Jenkins CI

• Other agile tools

Page 24: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

24

How Testdroid Helps?

• Speed up dev & testing cycles significantly

• Agile development & integration with mobile practices

• Continuous Testing

Page 25: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

25

Simple Setup

Device clusters

Device Control Server(s)

Cluster #1 Cluster #2 Cluster #3

USB Hubs, Cables

Cluster #4 Cluster #5

Page 26: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

26

DevelopersSource code

Repository

Build failed

Polling

NotifyingSuccessful build

QA & Testers

Buildin

g

Error reporting

Test Cases

Application

Rele

ase

Com

mit

Users / Consumers

Page 27: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

27

Agenda• Intro & Benefits: In-House Mobile App Testing• Challenges w/Apps, Devices, Testing & Market • Infrastructure – both Hardware & Software• Tips & Tricks for Building In-House Lab• Testdroid Update• Q&A

Agenda

Page 28: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

28

1

Page 29: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

29

2

Page 30: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

30

3

Page 31: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

31

4

Page 32: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

32

5

Page 33: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

33

Agenda• Intro & Benefits: In-House Mobile App Testing• Challenges w/Apps, Devices, Testing & Market • Infrastructure – both Hardware & Software• Tips & Tricks for Building In-House Lab• Testdroid Update• Q&A

Agenda

Page 34: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

34

Testdroid Update

Page 35: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

35

Testdroid Update

Page 36: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

36

Stay tuned!

A Step-by-step guide how to build an in-house test lab for mobile apps.

Will be available at www.testdroid.com

COMING SOON!

Coming Soon!

Page 37: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

37

Deployment Options

Page 38: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

38

Only $999!

For Trial Purpose!

We’re giving a 30-day trial license with Mac Mini.

In worst case, you got a Mac Mini with $999 – and it the best scenario you’ll have a product that will save you a lot of money, time and results as a better application!

Page 39: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

39

Agenda• Intro & Benefits: In-House Mobile App Testing• Challenges w/Apps, Devices, Testing & Market • Infrastructure – both Hardware & Software• Tips & Tricks for Building In-House Lab• Testdroid Update• Q&A

Agenda

Page 40: Testdroid: Build a Large Scale In-House Test Lab for Mobile Apps

© Copyrights by Bitbar Technologies Ltd. 2014 All rights reserved.

40

www.testdroid.com

THANK YOU!