www.bestppt.com
Building 5 star
review apps
With Xamarin
Test Cloud
March 17th, 2017
@jfversluis |
Who is that handsome gentleman anyways?
2
Gerald Versluis
@jfversluis
blog.verslu.is
gerald@verslu.is
@jfversluis |
Feel free to ask
3
Gerald Versluis
@jfversluis
blog.verslu.is
gerald@verslu.is
@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 created
Running Tests
5 Summary, thank you, crowdsurfing
It’s a wrap
www.bestppt.com
“Mobile Development is Hard”
- No one, ever
@jfversluis |
Challenges in Mobile Development
6
@jfversluis |
Challenges in Mobile Development
7
5
20
20
35
6
OS versions
Devices
Languages
Locales
Screen sizes
9
19K+
39
57
27
15
6
OS versions
Distinct devices
Languages
Locales
Screen sizes
Manufacturers
Screen
configurations
www.bestppt.com
@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
www.bestppt.com
Meet 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
www.bestppt.com
Tap Scroll Swipe Pinch Multi Finger
Text Entry Rotation GPS
@jfversluis |
Meet Xamarin Test Cloud - How Do They Do It?!
13
@jfversluis |
Meet Xamarin Test Cloud - How Do They Do It?!
14
@jfversluis |
Meet Xamarin Test Cloud - How To Use It
15
@jfversluis |
Creating Tests
16
• Xamarin.UITest
• C# based on NUnit
• Also Appium, Espresso, …
• Query on any VisualElement
property
• Xamarin.Forms; AutomationId
• Needs manual mapping!
@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
@jfversluis |
Running Tests
18
• Locally on physical device or
simulator/emulator
• Upload manually by console
• Directly from IDE (Visual Studio)
• Integrated in automated builds
@jfversluis |
Running Tests - Results
19
• Through e-mail
• Integrated in VSTS
• Test Cloud dashboard
@jfversluis |
It’s a wrap!
20
• Quality on mobile is important
• Easy & fast UI tests
• Running on physical devices
• Not just for Xamarin apps
@jfversluis |
#shamelessselfpromotion
21
Gerald Versluis
@jfversluis
blog.verslu.is
github.com/jfversluis

Building 5 star review apps with Xamarin Test Cloud