digital transformation & testing

46
Stuart Reid PhD, FBCS STA Consulting Inc. ([email protected]) © STA Consulting Inc. 2016 Digital Transformation & Testing April 2016

Upload: others

Post on 11-May-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Digital Transformation & Testing

Stuart Reid PhD, FBCSSTA Consulting Inc.([email protected])

© STA Consulting Inc. 2016

Digital Transformation & Testing

April 2016

Page 2: Digital Transformation & Testing

Scope

• Digital Disruption

• Testing Budgets

• Mobile

• Big Data

• Data Analytics

• Cloud

• Social Media

• Digital Disruption & Technology Enablers

• Testing Budgets & Testing Centres of Excellence

• Mobile & Crowd Testing

• Big Data & Fuzz Testing

• Data Analytics & Model-Based Testing

• Cloud & Chaos Monkeys

• Social Media & A/B Testing

Page 3: Digital Transformation & Testing

Customer Expectation

QA & Testing

Technology Enablers

The Changing Landscape

enabling

increases

demands more

Page 4: Digital Transformation & Testing

Technology Enablers

Cloud

Big Data

Internetof Things

Agile

DevOps Analytics

Mobile

Social Media

TechnologyEnablers

Virtualization

Artificial Intelligence

Page 5: Digital Transformation & Testing

Digital Disruption - Examples

maps

satnav

encyclopedia

Wikipedia

postal service

e-mail

pay phone

mobile phone

film photography

digital photography

Blockbusters

Netflix

digital camera

smart phone record shops

music download

Page 6: Digital Transformation & Testing

Accelerating - Digital Transformation

• 4.2 Billion internet users

• 4.61 Billion mobile phone users

• 64% of retail sales over the 2015-16 Xmas period were based on digital interactions up from 50% a year before

25% of the world’s economy will be digital by 2020

Page 7: Digital Transformation & Testing

Digital Transformation - Recognition

27% of executives rate management of digital disruption as a matter of survival

80% - the amount CEOs expect their digital revenue to increase by 2020

67% of CEOs will have digital transformation at the centre of their corporate strategy by 2018

Page 8: Digital Transformation & Testing

Fuzz Testing

A/B Testing

Crowd Testing

Model-Based Testing

Testing Centre of Excellence

Chaos Monkeys

QA & Testing

QA & Testing

Page 9: Digital Transformation & Testing

Customer Expectation

QA & Testing

Technology Enablers

Technology complicates, but also helps…

enabling

increases

demands more

supports better

increase complexity → more

Page 10: Digital Transformation & Testing

Testing as a Percentage of IT Budget

0

5

10

15

20

25

30

35

40

45

2012 2013 2014 2015 2016 2017 2018

Page 11: Digital Transformation & Testing

Manual vs Automated Test (2015)

L

E

G

A

C

Y

N

E

W

Test Automation

45%

Manual Testing

55%

Page 12: Digital Transformation & Testing

Testing as a Percentage of IT Budget

0

5

10

15

20

25

30

35

40

45

2012 2013 2014 2015 2016 2017 2018

L

E

G

A

C

Y

N

E

W

Page 13: Digital Transformation & Testing

Where Does the Testing Budget Go?

N

E

W

N

E

W

Back Office

CLOUDBig Data - Analytics

Page 14: Digital Transformation & Testing

0 10 20 30 40 50 60 70 80 90

Security

Customer Experience

Cost Optimization

Higher Quality

Responsiveness to Business

Time to Market

QA & Testing Priorities

Page 15: Digital Transformation & Testing

Testing Inefficiencies & Complexity

• Technical complexity increases testing difficulty and adds more defects

• Too much manual testing (only 45% automated)

• Dispersed testing knowledge (only 25% have a fully operational TCoE)…

• Limited Risk-Based Testing - difficulty identifying focus (risk) areas

• Limited reuse of test sets

• Lack of awareness of the importance of testing (objective #2)

• Too much spent on tools (30% of budget)

Page 16: Digital Transformation & Testing

• Specialists grouped into virtual shared service teams

• More specializations required

– 54% use specialists with data scientist skills for the testing of data analytics

– 53% use mobile test specialists

– 67% use specialists to predict expected usage and risk areas for new developments

– 51% use their own internal security test teams

• A standardized approach allows testers with a mix of abilities to be used effectively

Testing Centre of Excellence

Page 17: Digital Transformation & Testing

Mobile

Page 18: Digital Transformation & Testing

Mobile Trends

Almost all IT decision makers (90%) expect to increase spending on mobile app development (Nov 2015)

• Mobile services revenue will grow to $1,200 Billion globally by 2018 (~2% of World economy)

• Mobile connections to reach 9 Billion by 2020 (now 7.9)

Page 19: Digital Transformation & Testing

Mobile Focus Areas

0%

10%

20%

30%

40%

50%

60%

Mobile opens up new touchpoints and so increases the number of

security vulnerabilities and channels that need to have their

performance tested

Page 20: Digital Transformation & Testing

Mobile Testing Challenges

0%

5%

10%

15%

20%

25%

30%

35%

40%

TestEnvironments

Time to Test TestingExpertise

Mobile TestProcess

DeviceAvailability

Test Tools

Page 21: Digital Transformation & Testing

Android Handset Fragmentation

Page 22: Digital Transformation & Testing

Crowd Testing for Multiple Devices/Env’ts

Client

with App

Crowd Testers

(using their own

diverse devices

in different

environments)

App with

Testing

Needs

App with

Testing

Instructions

Test ResultsTest Report

Crowd TestingService

$

$$$

$$

$$

$$

Page 23: Digital Transformation & Testing

Big Data

Page 24: Digital Transformation & Testing

0

10

20

30

40

50

60

70

2011 2012 2013 2014 2015 2016 2017 2018 2019 2020

Big Data Market Forecast (Billion $)

Page 25: Digital Transformation & Testing

Most Important Big Data Issues

47% Security

46% £Cost

Page 26: Digital Transformation & Testing

• Testing using Big Data & Analytics– Analytics provide information on security vulnerabilities to test– Analytics provide information on usage and defect profiles and so

inform Risk-Based Testing

• Testing of Big Data & Analytics – Performance Testing

• testing that results are available in a useful timeframe (esp. real-time)

– Deterministic vs Probabilistic• Probabilistic results must be validated with users/experts

– Test Data Availability• large scale• real-time• sanitized or real

– Data Validity Testing• Data is secure and useful (filtered)…

Big Data & Analytics - Testing

Page 27: Digital Transformation & Testing

• Airliner

– 3 GB/hour

• CCTV

– 1 TB/month

• Mobile Phone Operator

– 3 TB/day

• Globally

– 2.5 Million TB/day

Example Data Volumes

Page 28: Digital Transformation & Testing

Data Validity

Data Collector

Interface Standard

Big Data

RawSensorData

Analytics

Page 29: Digital Transformation & Testing

Fuzz Testing

Input Data Generation

ValidData

Mutated InvalidData

Interface Standard

Data Collector

✓Assertion Checking

Validity Checking

Page 30: Digital Transformation & Testing

Data Analytics

Data

Analysis

Assets

‘Magic’

Page 31: Digital Transformation & Testing

MBT

Tool

Model-Based Testing for Data Analytics

TEST

EXECUTION

& CHECKING

Specialist

Test Modeller

MODEL

RISK

PROFILE

TEST MODEL

CREATION

TEST

CASES

(millions)

TEST

GENERATION

(high volume)

TEST

MODEL

(& ORACLE)

SYSTEM

REQUIREMENTS

RISK PROFILE

GENERATION

Domain-Specific

Test Strategist

Data

Scientist

Page 32: Digital Transformation & Testing

Cloud

Page 33: Digital Transformation & Testing

Why Cloud?

Pros Cons

• Power

• Elasticity / Scalability

• Affordability

• Pay per Use Model

• Low Maintenance

• Reliability

• but not as good as many believe

• Security Fears

• not as bad as many believe

• Lack of Control

• Costs

Page 34: Digital Transformation & Testing

Cloud Adoption

Global Cloud Services Market

predicted at $555 Billion by 2020

(from $210 Billion in 2014)

57% of organizations are already using or are planning to use the cloud in 2015(84% in the UK)

Page 35: Digital Transformation & Testing

Most Important Cloud Issues

Security82%

Data

Privacy81%

£Cost78%

Page 36: Digital Transformation & Testing

• Testing using the Cloud– Testing as a Service

• Test tools (fewer licenses sitting idle)

– Testing from the Cloud (e.g. generating virtual users, anywhere)

• Testing of Cloud-based Apps– Test Environments same as Production

• 20-30% Cost Reductions

– Performance/Load Testing• due to varied hardware architectures

– Hybrid Cloud Testing

– Security Testing• encryption/decryption

– Chaos Monkeys…

Cloud Testing

Page 37: Digital Transformation & Testing

• Open Source tools for testing Cloud-based systems

• Chaos Monkeys randomly disable (in work hours) instances to test whether the system can survive failures in the cloud infrastructure

• Simian Army

– Security Monkey, Janitor Monkey, etc.

– Chaos Kong kills whole AWS regions

• Netflix survived Amazon rebooting 10% of EC2 servers in Sept 2014 with no downtime

Chaos Monkeys

Page 38: Digital Transformation & Testing

Social Media

Page 39: Digital Transformation & Testing

Customer Expectation → Satisfaction

Ease of UseSpeed to Market

High Quality

Security

ConsistencyAvailability

Customer Satisfaction

Page 40: Digital Transformation & Testing

Customer Satisfaction

Social Media & Customer Satisfaction

Ease of UseSpeed to Market

High Quality

Security

ConsistencyAvailability

@LoserMy account’s empty!!!Who’s got my pin code? #security

@Picky_and_Loud1 star out of 5 – rubbish app – don’t buy! #quality

Page 41: Digital Transformation & Testing

Customer Satisfaction

Social Media & Customer Satisfaction

Ease of UseSpeed to Market

High Quality

Security

ConsistencyAvailability

@Early_Adopternew game out and already bought #speed to market

@Still_SingleDating app offline – where am I meeting my future wife???? #availability

Page 42: Digital Transformation & Testing

Customer Satisfaction

Social Media & Customer Satisfaction

Ease of UseSpeed to Market

High Quality

Security

ConsistencyAvailability

@StuckDifferent user interfaces - why can’t iPhone and Android apps work the same? #consistency

@New_UserHow do you save your details???? Help!!!! #stuck #usability

Page 43: Digital Transformation & Testing

A/B Testing

MORE SALES?

HIGHER PRODUCTIVITY?

HAPPIER USERS?

ORIGINAL

BENCHMARK

Page 44: Digital Transformation & Testing

Conclusions

• Digital Disruption & Technology Enablers

• Testing Budgets & Testing Centres of Excellence

• Mobile & Crowd Testing

• Big Data & Fuzz Testing

• Data Analytics & Model-Based Testing

• Cloud & Chaos Monkeys

• Social Media & A/B Testing

Page 45: Digital Transformation & Testing

Thank you for listening ☺

Any Questions?

Page 46: Digital Transformation & Testing

• World Quality Report 2015-16, https://www.uk.capgemini.com/thought-leadership/world-quality-report-2015-16• Digital Economic Value Index, Accenture 2016• Mars image, NASA, http://mepag.jpl.nasa.gov/• The Martian, 2015, Ridley Scott, http://www.wired.com/tag/the-martian/• 6 Predictions About The Future Of Digital Transformation, Dec 2015, http://www.forbes.com/• Statista 2015 – http://www.statista.com/statistics/273018/number-of-internet-users-worldwide/• Statista 2015 – http://www.statista.com/statistics/274774/forecast-of-mobile-phone-users-worldwide/• German Digitalization Consumer Report, 2014,

http://www.rolandberger.com/media/pdf/Roland_Berger_German_Digitalization_Consumer_Report_20140718.pdf• 15 Mind-Blowing Stats About Digital Transformation, 2015, http://www.cmo.com/articles/2015/3/23/mind-blowing-stats-digital-

transformation.html• Mobile image, https://commons.wikimedia.org/wiki/File:8-UX-Pitfalls-To-Avoid-In-Mobile-App-Design.jpg• European Cloud Services Trend Watch – July/August 2014,

http://www.currentanalysis.com/Compete/Login.aspx?ReturnUrl=%2fCOMPETE%2fFrontEnd%2fReport.aspx%3frid%3d93046%26rss&rid=93046&rss

• Big Data - HorizonWatch 2015 Trend Report, http://www.slideshare.net/HorizonWatching/big-data-horizon-watch-2015-trend-report-client-version-28jan2015

• Android Handset Fragmentation, http://opensignal.com/reports/2014/android-fragmentation/• Big Data image from Data set: nodexlgraphgallery.org/Pages/Graph.aspx?graphID=447, www.connectedaction.net• Executive Summary: Wikibon’s Big Data Vendor Revenue and Market Forecast, 2011-2026, 2015, http://wikibon.com/executive-summary-

big-data-vendor-revenue-and-market-forecast-2011-2026/• Airline route image, 2015, https://en.wikipedia.org/wiki/Civil_aviation • CCTV Security Camera image, 2015, http://www.freefoto.com/preview/04-07-3/CCTV-Security-Camera• How Tech Execs Perceive the Top IT Disrupters, http://www.channelinsider.com/news-and-trends/slideshows/how-tech-execs-perceive-the-

top-it-disrupters.html• Global Cloud Services Market is Expected to Reach $555 Billion, Globally, by 2020, 2015, http://www.prnewswire.com/news-releases/global-

cloud-services-market-is-expected-to-reach-555-billion-globally-by-2020-265373811.html• KPMG 2014 CLOUD SURVEY REPORT, Elevating Business in the Cloud, http://www.kpmg.com/US/en/about/alliances/Documents/2014-

kpmg-cloud-survey-report.pdf• Docker container images, 2015, https://www.docker.com/what-docker• Docker kicks KVM's butt in IBM tests, 2014, http://www.theregister.co.uk/2014/08/18/docker_kicks_kvms_butt_in_ibm_tests/• Girl’s Generation image, https://en.wikipedia.org/wiki/LG_Cookie_(KP500)

Credits/References