Automated UI Testing and Monitoring for Your Mobile Apps

Automated UI Testing and Monitoring for Your Mobile Apps

279b474d14f72e4daa1fc76e6f3c929f?s=128

Greg Shackles

June 16, 2015
Tweet

Transcript

  1. Automated UI Testing and Monitoring for your Mobile Apps Greg

    Shackles @gshackles greg@gregshackles.com github.com/gshackles speakerdeck.com/u/gshackles
  2. Ship It A Cautionary Tale

  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. None
  10. The Double-Decker Couch of Apps by Vitruvius This app is

    just…the worst.
  11. None
  12. Don’t Be This Developer

  13. Set Yourself Up to Deliver Awesomeness

  14. Testing Approaches Authentic User Tests Simplistic Tests Rapid Iteration Long

    Cycles
  15. Testing Approaches Authentic User Tests Simplistic Tests Rapid Iteration Long

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

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

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

    Cycles Beta Testing Manual Testing Unit Testing Automated UI Testing
  19. Xamarin.UITest

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

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

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

    iOS and Android (with shared test code) • Run on simulator and devices
  23. 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
  24. None
  25. None
  26. Demo Xamarin.UITest

  27. Real Talk There are a lot of devices out there

  28. Android OpenSignal, August 2014

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

  30. iOS: Growing Variety of Devices

  31. US Devices Market Share 25% 50% 75% 90% 13 45

    134 288 # Devices
  32. Xamarin Test Cloud Test on real devices

  33. None
  34. None
  35. Demo Test Cloud

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

  37. “…only 16% of people will try a failing app more

    than twice.” Source: raygun.io/blog/2015/02/software-errors-killing-app
  38. Be Proactive, Not Reactive

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

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

    problems • Those who do often do so through negative app reviews
  41. 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
  42. None
  43. None
  44. Demo Xamarin Insights and Raygun

  45. Questions? Greg Shackles @gshackles greg@gregshackles.com github.com/gshackles speakerdeck.com/u/gshackles