building 5 star review apps with xamarin test cloud

21
www.bestppt.com Building 5 star review apps With Xamarin Test Cloud March 17th, 2017

Upload: gerald-versluis

Post on 22-Mar-2017

48 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Building 5 star review apps with Xamarin Test Cloud

www.bestppt.com

Building 5 star review apps With Xamarin Test Cloud

March 17th, 2017

Page 2: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Who is that handsome gentleman anyways?

2

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

Page 3: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Feel free to ask

3

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

Page 4: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

What I have for you today…

4

1 Why should we care anyway?Challenges in Mobile Development

2 What does it do? How can you use it? Does it smell funny?

Meet Xamarin Test Cloud

3 This is the where fun starts! Finally, some code

Creating Tests

4 How can we run the tests we have createdRunning Tests

5 Summary, thank you, crowdsurfingIt’s a wrap

Page 5: Building 5 star review apps with Xamarin Test Cloud

www.bestppt.com

“Mobile Development is Hard” - No one, ever

Page 6: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Challenges in Mobile Development

6

Page 7: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Challenges in Mobile Development

7

52020356

OS versionsDevicesLanguagesLocalesScreen sizes

919K+

395727156

OS versionsDistinct devicesLanguagesLocalesScreen sizesManufacturersScreen configurations

Page 8: Building 5 star review apps with Xamarin Test Cloud

www.bestppt.com

Page 9: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Challenges in Mobile Development

9

Thousands of iOS and Android APIs

Public web APIs

Backend integrations

Third party libraries

Memory, CPU and network constraints

Page 10: Building 5 star review apps with Xamarin Test Cloud

www.bestppt.com

Meet Test Cloud

Page 11: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Meet Xamarin Test Cloud

11

• Thousands of physical devices • Over a hundred added every month

• Warehouse in Denmark • Calabash framework • Do everything a user does

• No Bluetooth, cellular, camera • Not just for Xamarin apps!

• No support for Windows apps

Page 12: Building 5 star review apps with Xamarin Test Cloud

www.bestppt.com

Tap Scroll Swipe Pinch Multi Finger

Text Entry Rotation GPS

Page 13: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Meet Xamarin Test Cloud - How Do They Do It?!

13

Page 14: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Meet Xamarin Test Cloud - How Do They Do It?!

14

Page 15: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Meet Xamarin Test Cloud - How To Use It

15

Page 16: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Creating Tests

16

• Xamarin.UITest • C# based on NUnit • Also Appium, Espresso, …

• Query on any VisualElement property

• Xamarin.Forms; AutomationId • Needs manual mapping!

Page 17: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Creating Tests - Test Recorder

17

• Visual Studio & Xamarin Studio • Works a bit different

• Record tests by clicking through your app

• Simulator or physical • Just add assertions! • Replay or send to Test Cloud

Page 18: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Running Tests

18

• Locally on physical device or simulator/emulator

• Upload manually by console • Directly from IDE (Visual Studio) • Integrated in automated builds

Page 19: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

Running Tests - Results

19

• Through e-mail • Integrated in VSTS • Test Cloud dashboard

Page 20: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

It’s a wrap!

20

• Quality on mobile is important • Easy & fast UI tests • Running on physical devices • Not just for Xamarin apps

Page 21: Building 5 star review apps with Xamarin Test Cloud

@jfversluis |

#shamelessselfpromotion

21

Gerald Versluis@jfversluis

blog.verslu.is

github.com/jfversluis