60
1 Webinar Presents Continuous Integration and Automation for Mobile Development & Test

SOASTA Webinar: Process Compression For Mobile App Dev 120612

  • Upload
    soasta

  • View
    844

  • Download
    3

Embed Size (px)

Citation preview

Page 1: SOASTA Webinar: Process Compression For Mobile App Dev 120612

1Webinar

Presents

Continuous Integration and Automation for Mobile Development & Test

Page 2: SOASTA Webinar: Process Compression For Mobile App Dev 120612

2

Where to automate for rapid mobile dev and test

TODAY’S PRESENTERS

• Dave Meyer: Product Marketing Manager, Atlassian - @d_meyer• Sanjay Zalavadia: Director of Professional Services, Zephyr - @ZalinCal• Brad Johnson: VP Product & Channel Marketing, SOASTA - @bradjohnsonsv

Leading Innovators in Software Development!

- Helping teams build amazing software

- Delivering real-time test management

- The leader in mobile and cloud testing

Aligned with a Common Goal

High Speed Software Delivery

Page 3: SOASTA Webinar: Process Compression For Mobile App Dev 120612

3

o Introductiono Poll Questiono Continuous Integration and Bamboo for Mobileo Test Management and the CI processo Automation for continuous mobile testing

Questions: - Please submit via Chat during event

Page 4: SOASTA Webinar: Process Compression For Mobile App Dev 120612

4

o Shear Number of Devices (953M Smartphones)

o Different Operating Systems

o Scale of Global Customers (6B)

o Dynamic Content (Video, Animation)

o Rapid development driven by demand

Manual Processes Can Not Keep Up

Page 5: SOASTA Webinar: Process Compression For Mobile App Dev 120612

5

Fingers and Eyeballs VS.Pace and Scale of Mobile

Development

Page 6: SOASTA Webinar: Process Compression For Mobile App Dev 120612

6

SDLC tasks are a constant. Pace Isn’t

Page 7: SOASTA Webinar: Process Compression For Mobile App Dev 120612

7

The Mobile Need is Elementary> More Progress in Less Time <

Page 8: SOASTA Webinar: Process Compression For Mobile App Dev 120612

8

Page 9: SOASTA Webinar: Process Compression For Mobile App Dev 120612

99

We help plan, build, and launch great software

Team Collaboration

Track projects, events, & people Group Chat

Track, Plan, Analyze

Agile project tracking Exploratory Testing

...and more!

• 23,000 customers in over 130 countries

• Offices in Sydney, San Francisco & Amsterdam

• A “leader” in ALM according to Gartner

Page 10: SOASTA Webinar: Process Compression For Mobile App Dev 120612

10

Dave Meyer

@d_meyer@d_meyer

Page 11: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Why does Continuous Integration matter?

Find bugs faster

Make merging suck less

Faster feedback loops

Less lag time

x 2 for Mobile

Page 12: SOASTA Webinar: Process Compression For Mobile App Dev 120612

If you’re going to fail, fail fast!

#atlassian

Page 13: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Principles of CI

oOne (1) repo

o Automate your builds!

o Builds all the time!

o Automate your tests!

oDeploy, deliver, distribute, deploy, deliver ....

Page 14: SOASTA Webinar: Process Compression For Mobile App Dev 120612

14

What does a CI tool do?

Clone repo Build Unit Tests Deploy to QAUI TestsIntegration TestsAPI TestsPerformance/Load Tests

Deploy to Production

Smoke tests

Page 15: SOASTA Webinar: Process Compression For Mobile App Dev 120612

15

Plan

Page 16: SOASTA Webinar: Process Compression For Mobile App Dev 120612

16

Plan

Stage StageStage

Page 17: SOASTA Webinar: Process Compression For Mobile App Dev 120612

17

Plan

Stage StageStage

Job

Job

Job

JobJob

Page 18: SOASTA Webinar: Process Compression For Mobile App Dev 120612

18

Task

Task

Task

Task

Task

Task

Task

Task

Task

Plan

Stage StageStage

Job

Job

Job

JobJob

Page 19: SOASTA Webinar: Process Compression For Mobile App Dev 120612

19

• Checkout from Source Control

• SVN, Git, Hg, Perforce, CVS

• Build Engine

• Ant, Maven, MSBuilder, Rake, Grails, Ivy

• Analysis & Reports

• code coverage, static analysis, performance

• Deployment

• Tomcat, Heroku, Deploy It, LiveRebel, Artifactory, SCP, Script

Tasks run sequentially inside their container: a Job

Page 20: SOASTA Webinar: Process Compression For Mobile App Dev 120612

20

Task

Task

Task

Task

Task

Task

Task

Task

Task

Plan

Stage StageStage

Job

Job

Job

JobJob

Page 21: SOASTA Webinar: Process Compression For Mobile App Dev 120612

21

JobsJobs

Jobs run in parallel inside their container: a Stage

• Group dependent Tasks together inside a Job to ensure order of execution• “Build & Package” Job = SCM Checkout Task + Checkstyle Task + Ant

Task

• Place independent Tasks in their own Jobs to tighten the feedback loop• “Integration Tests” Job = Maven Task

• “UI Tests” Job = Maven Task

• These two Jobs can run in any order, or simultaneousl

Page 22: SOASTA Webinar: Process Compression For Mobile App Dev 120612

22

Task

Task

Task

Task

Task

Task

Task

Task

Task

Plan

Stage StageStage

Job

Job

Job

JobJob

Page 23: SOASTA Webinar: Process Compression For Mobile App Dev 120612

23

PlansPlans

• Represents the complete set of actions taken with each build• Variety of triggers:

• Change in SCM

• Cron

• Manual (push-button)

• Parent Plans

• Global elements you can fine-tune at the Plan level:• Variables

• Repositories

• Notifications

• Permissions

• Build Expiry

Page 24: SOASTA Webinar: Process Compression For Mobile App Dev 120612

24

Up your Mobile Dev speed

1. Start failing faster

Page 25: SOASTA Webinar: Process Compression For Mobile App Dev 120612

25

Up your Mobile Dev speed

1. Start failing faster

2. Don’t build alone

Page 26: SOASTA Webinar: Process Compression For Mobile App Dev 120612

26

Up your Mobile Dev speed

1. Start failing faster

2. Don’t build alone

3. Atlassian <3 mobile devs

Page 27: SOASTA Webinar: Process Compression For Mobile App Dev 120612

27

Up your Mobile Dev speed

1. Start failing faster

2. Don’t build alone

3. Atlassian <3 mobile devs

Blog: http://atlss.in/mobileCI

Page 28: SOASTA Webinar: Process Compression For Mobile App Dev 120612

28

Up your Mobile Dev speed

1. Start failing faster

2. Don’t build alone

3. Atlassian <3 mobile devs

Blog: http://atlss.in/mobileCI

Page 29: SOASTA Webinar: Process Compression For Mobile App Dev 120612

29

Up your Mobile Dev speed

1. Start failing faster

2. Don’t build alone

3. Atlassian <3 mobile devs

Blog: http://atlss.in/mobileCI

Page 30: SOASTA Webinar: Process Compression For Mobile App Dev 120612

30

Company overview

profileo Founded in 2007o 900+ global customerso Atlassian Integration Partnero Headquartered in Silicon Valley, CA

CONTACT o Email: [email protected] o Office: (510) 400-8656o Home: getzephyr.com

Page 31: SOASTA Webinar: Process Compression For Mobile App Dev 120612

31

Sanjay Zalavadia

@ZalinCal@ZalinCal

Page 32: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Challenges with Mobile App testing

Transitional testing team•Seasonal testers•Globally distributed teams

Huge testing footprint•Wide variety of platforms, devices, OS, languages, browser versions, MODS, carriers•Dealing with multiple marketplaces / ecosystems / product catalogs•Can’t write and manually execute separate tests

Keeping track of what’s going on …•Hard to know where you are in your testing•Constant updates needed for the Business, Executives, PMs, etc.

Page 33: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Consequences if left unaddressed

Lack of organized, re-useable systems:•Missed Deadlines•App certification process - rejection•Re-inventing the wheel

Lack of Coverage•Quality issues•Low ratings, Poor reviews

Lack of visibility•Lose track of where you are in your testing•QA = black hole

Page 34: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Get organized

•3

Centralize your test assets•Single test repository•Accessible and useable globally•Manual, automation and performance

Page 35: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Achieve test completion with Quality

Automate•Build time verification•Utilize the cloud

Performance testing•Not optional

Maintain Consistency

Page 36: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Provide complete Visibility

Accessibility to entire Project Team

Metrics Availability 24 x 7

Real-time updates

Page 37: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Provide complete Visibility

•5

Accessibility to entire Project Team

Metrics Availability 24 x 7

Real-time updates

Page 38: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Provide complete Visibility

Accessibility to entire Project Team

Metrics Availability 24 x 7

Real-time updates

Page 39: SOASTA Webinar: Process Compression For Mobile App Dev 120612

Provide complete Visibility

Accessibility to entire Project Team

Metrics Availability 24 x 7

Real-time updates

Page 40: SOASTA Webinar: Process Compression For Mobile App Dev 120612

40

o First End-to-End Mobile App Test Platform

• First Cloud-Based Load Testing Solution

• First Global Test Cloud (17 Countries, 100 Cities)

• First Mobile Test Automation “Platform”

• First real time RUM for web and mobile

o Over 350 Global Corporate Customers

• 10,000 Mobile Developers and Testers use CloudTest

• Over 1,000 Mobile and Web Apps are Tested with CloudTest

o Award Winning & Patented Technology

• Named by Wall Street Journal Top 50 Hottest Companies three years running

• Gartner Visionary Leader

o Over 100+ Employees US, EMEA

Page 41: SOASTA Webinar: Process Compression For Mobile App Dev 120612

41

Brad Johnson

@bradjohnsonsv@bradjohnsonsv

Page 42: SOASTA Webinar: Process Compression For Mobile App Dev 120612

42

Functional Test Automation

Real User Monitoring

Performance & Load Testing

Development & Build

Application

Application Development Lifecycle

Page 43: SOASTA Webinar: Process Compression For Mobile App Dev 120612

43

Application Development Lifecycle

Application

TouchTest

CloudTestmPulse

mobilev

Development & CI

Page 44: SOASTA Webinar: Process Compression For Mobile App Dev 120612

44

Page 45: SOASTA Webinar: Process Compression For Mobile App Dev 120612

45

Source Code Repository

Devs

Build Server

Check out

Test Results

Check in

Run Tests

Unit Tests

☐Pass

☐ Fail

To QA or Users

Page 46: SOASTA Webinar: Process Compression For Mobile App Dev 120612

46

Source Code Repository

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

DevsToor

Beta Users

Page 47: SOASTA Webinar: Process Compression For Mobile App Dev 120612

47

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 48: SOASTA Webinar: Process Compression For Mobile App Dev 120612

48

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 49: SOASTA Webinar: Process Compression For Mobile App Dev 120612

49

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 50: SOASTA Webinar: Process Compression For Mobile App Dev 120612

50

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 51: SOASTA Webinar: Process Compression For Mobile App Dev 120612

51

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 52: SOASTA Webinar: Process Compression For Mobile App Dev 120612

52

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 53: SOASTA Webinar: Process Compression For Mobile App Dev 120612

53

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 54: SOASTA Webinar: Process Compression For Mobile App Dev 120612

54

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devicesIn parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 55: SOASTA Webinar: Process Compression For Mobile App Dev 120612

55

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devicesIn parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 56: SOASTA Webinar: Process Compression For Mobile App Dev 120612

56

Source Code Repository

Devs

Real Devices

Bamboo Build Server

Check out

Test Results

Check in

Push to devices

In parallel

Run Tests

Execute on devices

☐Pass

☐ Fail

Bamboo Mac Agent

Toor

Beta Users

Page 57: SOASTA Webinar: Process Compression For Mobile App Dev 120612

57

• No jailbreak required• No tethering required• iOS 5.0, 5.1, 6.0• iPhone 3GS, 4, 4S, and 5• iPad 1, 2, 3, 4• iPad mini• Simulators

• No “rooting” required• No tethering required• Android 2.3.3

(Gingerbread) and later• Phones, tablets, and

emulators

Page 58: SOASTA Webinar: Process Compression For Mobile App Dev 120612

58

• Download CloudTest Lite (http://www.soasta.com)• Includes TouchTest technology

• Free for a single device• No expiration• Free support via CloudLink forums

Page 59: SOASTA Webinar: Process Compression For Mobile App Dev 120612

59

It Doesn’t Matter Where You Start.JUST START!

Page 60: SOASTA Webinar: Process Compression For Mobile App Dev 120612

60

Q&A

Contact SOASTA:

[email protected]

866.344.8766

Follow us:

twitter.com/cloudtesttwitter.com/cloudtest

facebook.com/cloudtestfacebook.com/cloudtest

Knowledge Center•White Papers•Webinar Recordings•Case Studies

CloudLink Community•Support•Tutorials•Video

RESOURCES

www.SOASTA.com www.Atlassian.comwww.GetZephyr.com

Products•Zephyr Enterprise•Zephyr Community•Zephyr for JIRA

Support Center•Knowledge Base•ZephyrTV•Community Forums