The development is just a small part of any mobile application lifecycle: testing, building, distributing, analysing are part of a continuous process to always improve the quality of each application. In this session we will see how Visual Studio implements all these aspects and how you can integrate them in your CI/CD pipeline.
ITCamp 2018 - Dan Ardelean - CI/CD for mobile development using Visual Studio App Center
1. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
CI/CD for mobile development using
Visual Studio App Center
Dan Ardelean
Mahiz Srl
Email: dan@mahiz.it Twitter: @danardelean
Microsoft MVP Visual Studio Technologies, Xamarin MVP
6. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
developer.apple.com/support/app-store
5%
81%
14%
81% of devices are using iOS 11
iOS 11
iOS 10
As measured by the App Store on June 2018
Testing on different OS versions
7. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
HockeyApp Xamarin Test Cloud Xamarin Insights
Distribution • Crashes • Analytics Device Tests Crashes • Analytics
Azure Mobile Engagement Azure App Service CodePush
Analytics • Push Push Distribution
Visual Studio App Center
8. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
The Platforms you need
Android
iOS
Windows
macOS (Preview)
The Frameworks you love
Xamarin
Java
Obj-C/Swift
UWP
React Native
Cordova (Preview)
App Center = something for everyone
16. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
App Center: Test
Validate your code and
release better apps, faster.
Verify your app works
properly on the devices
your users will have
18. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
Running your tests against your app
App Center: Test
C:> appcenter test run uitest --app "xamarin-university-mobile---android" --devices d9986e03 --
app-path C:UsersMarkDownloadscom.xamarin.university.apk --test-series "master" --locale
"en_US" --build-dir ..XamarinUniversityMobile.Tests.UIbinDebug
Preparing tests... done.
Validating arguments... done.
Creating new test run... done.
Validating application file... done.
Uploading files... done.
Starting test run... done.
Test run id: "65134d8b-f742-4a33-ac44-b2be1aeb8cdd"
Accepted devices:
- Google Pixel 2 (8.1.0)
- Google Pixel 2 XL (8.1.0)
- Samsung Galaxy S5 (6.0.1)
- Sony Xperia z5 Compact (5.1.1)
Current test status: Validating
20. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
Identify, prioritize, and
triage issues
with grouped crash reports.
Symbol files helps you fix
problems quickly.
App Center: Crashes
27. @ITCAMPRO #ITCAMP18Community Conference for IT Professionals
Get started for free: https://appcenter.ms
Docs
docs.microsoft.com/en-us/appcenter/
Blog
blogs.msdn.microsoft.com/vsappcenter/