Slide 1

Slide 1 text

Automated UI Testing and Monitoring for your Mobile Apps Greg Shackles @gshackles [email protected] github.com/gshackles speakerdeck.com/u/gshackles

Slide 2

Slide 2 text

Ship It A Cautionary Tale

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

The Double-Decker Couch of Apps by Vitruvius This app is just…the worst.

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Don’t Be This Developer

Slide 13

Slide 13 text

Set Yourself Up to Deliver Awesomeness

Slide 14

Slide 14 text

Testing Approaches Authentic User Tests Simplistic Tests Rapid Iteration Long Cycles

Slide 15

Slide 15 text

Testing Approaches Authentic User Tests Simplistic Tests Rapid Iteration Long Cycles Beta Testing

Slide 16

Slide 16 text

Testing Approaches Authentic User Tests Simplistic Tests Rapid Iteration Long Cycles Beta Testing Manual Testing

Slide 17

Slide 17 text

Testing Approaches Authentic User Tests Simplistic Tests Rapid Iteration Long Cycles Beta Testing Manual Testing Unit Testing

Slide 18

Slide 18 text

Testing Approaches Authentic User Tests Simplistic Tests Rapid Iteration Long Cycles Beta Testing Manual Testing Unit Testing Automated UI Testing

Slide 19

Slide 19 text

Xamarin.UITest

Slide 20

Slide 20 text

Xamarin.UITest • Write UI tests in C# or F#

Slide 21

Slide 21 text

Xamarin.UITest • Write UI tests in C# or F# • iOS and Android (with shared test code)

Slide 22

Slide 22 text

Xamarin.UITest • Write UI tests in C# or F# • iOS and Android (with shared test code) • Run on simulator and devices

Slide 23

Slide 23 text

Xamarin.UITest • Write UI tests in C# or F# • iOS and Android (with shared test code) • Run on simulator and devices • Compatible with all apps • Native • Hybrid • Xamarin

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Demo Xamarin.UITest

Slide 27

Slide 27 text

Real Talk There are a lot of devices out there

Slide 28

Slide 28 text

Android OpenSignal, August 2014

Slide 29

Slide 29 text

Android: API Level 14+ (Ice Cream Sandwich) and growing!

Slide 30

Slide 30 text

iOS: Growing Variety of Devices

Slide 31

Slide 31 text

US Devices Market Share 25% 50% 75% 90% 13 45 134 288 # Devices

Slide 32

Slide 32 text

Xamarin Test Cloud Test on real devices

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Demo Test Cloud

Slide 36

Slide 36 text

Don’t Wait for Users to Complain (╯°□°)╯︵ ┻━┻)

Slide 37

Slide 37 text

“…only 16% of people will try a failing app more than twice.” Source: raygun.io/blog/2015/02/software-errors-killing-app

Slide 38

Slide 38 text

Be Proactive, Not Reactive

Slide 39

Slide 39 text

Be Proactive, Not Reactive • Most users won’t actually report problems

Slide 40

Slide 40 text

Be Proactive, Not Reactive • Most users won’t actually report problems • Those who do often do so through negative app reviews

Slide 41

Slide 41 text

Be Proactive, Not Reactive • Most users won’t actually report problems • Those who do often do so through negative app reviews • Get notified as it happens, and to whom it happens • Crashes • Errors • Analytics

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

Demo Xamarin Insights and Raygun

Slide 45

Slide 45 text

Questions? Greg Shackles @gshackles [email protected] github.com/gshackles speakerdeck.com/u/gshackles