Top Banner
www.bestppt.com ALM + Your Xamarin app The circle of life 4 October 2016
24

The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Jan 13, 2017

Download

Software

Gerald Versluis
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

www.bestppt.com

ALM + Your Xamarin app The circle of life

4 October 2016

Page 2: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Who is this guy?!

2

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

Page 3: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

3

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

Who is this guy?!

Page 4: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

www.bestppt.com

Continuous integration & delivery

For your app, using VSTS & HockeyApp

Page 5: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

For today

5

1 What is it? What do you need? How to set it up?Continuous integration

2 Delivering your apps to your testers and/or users with HockeyAppContinuous delivery

3 Bitrise, TestFairy, App Store, Google PlayAlternatives

4 Lessons learned, useful links, high fives all aroundThat’s all folks!

Page 6: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Case

6

Demo’ing with Boodschappie App for creating a common shopping list

• Web API• MS SQL• iOS & Android

Gerald Verslu.is - @jfversluis

Page 7: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Xamarin is a better way to…

7

Build Test Monitor

Page 8: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

www.bestppt.com

Continuous integration Because fast feedback matters

Page 9: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Why do I want continuous integration?

9

As a developer you want feedback on your code ASAP

• Integration with other developers code

• The ever forgotten files

• Running (unit) tests

Gerald Verslu.is - @jfversluis

Page 10: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

What do I need for continuous integration?

10

Microsoft now has a full featured pipeline

• VSTS (preferably with Git)• Xamarin• HockeyApp/Application Insights• Test Cloud*

Gerald Verslu.is - @jfversluis

Page 11: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

What do I need for continuous integration?

11

VSTS is awesome

• Free• Much more than versioning• Extensible with Marketplace• Does everything on-prem does

but better and sooner

They only forgot to add a Mac…

• Supply your own Mac (mini)• MacinCloud

VSTS

Gerald Verslu.is - @jfversluis

Page 12: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

www.bestppt.com

Continuous deployment Forget the hassle of deploying yourself

Page 13: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Why do I want continuous deployment?

13

As a developer you want to automate everything you have to do more then once

• Early feedback• Visible to end-users/

management• Earlier benefits• Quickly respond to change• Innovation

Gerald Verslu.is - @jfversluis

Page 14: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

What do I need for continuous deployment?

14

Ingredients

• App• Continuous integration• HockeyApp

• App Store• Play Store• MarketplaceAlso have beta programs but are limited

Gerald Verslu.is - @jfversluis

Page 15: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

What do I need for continuous delivery?

15

Release definition

• Very similar to Build definitions• Offers Environments to build

chain of command

• Supports same tasks so you can run automated tests

• (Automatic) release to app store!

VSTS

Gerald Verslu.is - @jfversluis

Page 16: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

What do I need for continuous delivery?

16

HockeyApp for distributing

• Distribute Android, iOS and Windows apps outside of the App Stores

• Symbolicated crash reports• Collecting feedback• Support for different target groups• User groups• No waiting for review processes

HockeyApp

Gerald Verslu.is - @jfversluis

Page 17: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

www.bestppt.com

Alternatives What if I don’t want to use VSTS?!

Page 18: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Alternatives - Bitrise

18

Does everything VSTS does

• Building• Running (unit) tests• Test Cloud• Send to HockeyApp

And they actually did add a Mac!

Gerald Verslu.is - @jfversluis

Page 19: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Alternatives - TestFairy

19

Similar to TestCloud

• Free up to 10 apps• Distribution• Crash-reporting• Collect feedback

Gerald Verslu.is - @jfversluis

Page 20: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Alternatives - App Store/TestFlight

20

App Store for testing

• Through TestFlight• Invite only• Push to production from test• Has to go through review for

external testers (beta)• No feedback collection• No usage statistics

Gerald Verslu.is - @jfversluis

Page 21: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Alternatives - Play Store

21

Play Store for testing

• Push to production from test• Invite or open alpha/bèta• A/B Testing• Goes through normal Play

Store

Gerald Verslu.is - @jfversluis

Page 22: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Lessons learned

22

1 Implementing is an evolving process

2 HockeyApp != Xamarin Insights in terms of (crash) reporting

3 Test Cloud is awesome!

Gerald Verslu.is - @jfversluis

Page 23: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

Useful links

23

1 Visual Studio Team Services

2HockeyApp

4

3

https://www.visualstudio.com/

https://hockeyapp.net

Bitrise

https://bitrise.io

Test Cloud

https://www.xamarin.com/test-cloud

Gerald Verslu.is - @jfversluis

http://bit.ly/CICD-1 http://bit.ly/CICD-2 5

Blog posts

http://bit.ly/CICD-3

Page 24: The circle of life: ALM for your Xamarin app with VSTS and HockeyApp

That’s all folks!

24

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

Thank you!