33
4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile 4 Ways to Speed Up Your Daily Grind Advanced tools for mobile and web development teams Web: perfectomobile.com Twitter: @perfectomobile

4 Ways to Speed Up Your Mobile App Dev Daily Grind

Embed Size (px)

Citation preview

Page 1: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

4 Ways to Speed Up Your Daily Grind

Advanced tools for mobile and web development teams

Web: perfectomobile.com Twitter: @perfectomobile

Page 2: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

● Session is being recorded

● Email once presentation is posted

● Questions and conversation○ Twitter: #justletmecode○ WebEx chat panel○ Q&A at the end of the webinar

Housekeeping

Page 3: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Our Presenters

Roy NurielDirector, Product Manager

Perfecto

Paul BruceDeveloper Advocate

Perfecto

Page 4: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

What We’ll Cover

1. Integrating real devices into your workflow○ validating new features○ debugging apps

2. Stay close to the code with instrumented test frameworks○ Espresso (and XCTest too)

3. Parallel testing in continuous integration○ Real devices as part of Jenkins

4. Better Feedback from Reporting

Page 5: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Why this, why now?

Page 6: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Poll: When do you feel that feedback about bugs related to your app’s user experience would be most useful?

● During coding / debugging● Before code is checked in to a repository● Shortly after code is checked in to a repository● Once at the beginning of the day● A few times during each release cycle

Page 7: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Integrating real devices into your workflow

I4 Ways to Speed Up Your Daily Grind

Advanced tools for mobile and web development teams

Page 8: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

An inefficient workflow leads to defects

Page 9: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Efficient dev cycles with real devices

Validate your UI work Debug in specific environment

Page 10: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Validating work locally...

● How many emulators / simulatorscan you run simultaneously?

● How many form factors & screen sizes?

● How are these environments managed?

Page 11: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Debugging in a specific environment...

● What were the network conditions?

● Which apps were running in the background?

● How much memory, CPU cycles are consumed?

Page 12: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Perfecto integrates into your workflow

Page 13: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

Run on the Cloud

Page 14: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Closer to the code withEspresso & XCTest

24 Ways to Speed Up Your Daily Grind

Advanced tools for mobile and web development teams

Page 15: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Pros on both sidesEspresso WebDriver...

Instrumented Black-box

Code+ XPath+

Ecosystem IndependentUpgrades

Execution

Object Locators

N YCross-platform

Depends+ Depends-Stability

Page 16: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

Espresso in Android Studio

Page 17: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

There is no one tool to test everything!

Page 18: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Matching Tools to Requirements and Persona’s

● Different type of apps (Native/RWD/Web)

● Organizational skill set

● Context Based Testing (In-App/External)

● Test coverage requirements (Platforms/Capabilities)

bit.ly/oss-test-choices

Page 19: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

3Parallel Testing in

Continuous Integration

4 Ways to Speed Up Your Daily GrindAdvanced tools for mobile and web development teams

Page 20: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Fast pipelines requires reliable automation

Page 21: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Build verification, smoke tests

x5 per day * 4 critical platforms

Regression, end-to-end testing

nightly * 16 platforms + conditions

fast & completefeedback

Page 22: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

One strategy, multiple schedules

Page 23: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

More than one way to integrate Perfecto into CI

Page 24: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

Espresso, Jenkins, Shell, API

Page 25: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

For Selenium/Appium, we have WebDriver libraries...

Page 26: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

4Better Feedback from Reporting

4 Ways to Speed Up Your Daily GrindAdvanced tools for mobile and web development teams

Page 27: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Page 28: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Page 29: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Page 30: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Page 31: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Page 32: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

What We’ve Covered

1. Integrating real devices into your workflow○ validating new features○ debugging apps

2. Stay close to the code with instrumented test frameworks○ Espresso (and XCTest too)

3. Parallel testing in continuous integration○ Real devices as part of Jenkins

4. Better Feedback from Reporting

Page 33: 4 Ways to Speed Up Your Mobile App Dev Daily Grind

4 Ways to Speed Up Your Mobile/Web App Daily Grind Web: perfectomobile.com Twitter: @perfectomobile

Q&ANext webinar: Espresso for Fast and Reliable Feedback

bit.ly/perfecto-espresso-webinar