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

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

Embed Size (px)

Citation preview

www.bestppt.com

ALM + Your Xamarin app The circle of life

4 October 2016

Who is this guy?!

2

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

3

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

Who is this guy?!

www.bestppt.com

Continuous integration & delivery

For your app, using VSTS & 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!

Case

6

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

• Web API• MS SQL• iOS & Android

Gerald Verslu.is - @jfversluis

Xamarin is a better way to…

7

Build Test Monitor

www.bestppt.com

Continuous integration Because fast feedback matters

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

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

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

www.bestppt.com

Continuous deployment Forget the hassle of deploying yourself

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

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

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

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

www.bestppt.com

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

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

Alternatives - TestFairy

19

Similar to TestCloud

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

Gerald Verslu.is - @jfversluis

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

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

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

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

That’s all folks!

24

Gerald Versluis@jfversluis

blog.verslu.is

[email protected]

Thank you!