22
As The World Turns Adonis Celestine © 2018 Cognizant

As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

As The World Turns

Adonis Celestine

© 2018 Cognizant

Page 2: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

© 2018 Cognizant2

REACTIVE QA

PROACTIVE QA

Yesterday

Quality Assurance after the product is made

Quality Assurance while the product is made

REACTIVE TO PROACTIVE

Page 3: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

PROACTIVE TO PREDICTIVE

Today

REACTIVE QA

PROACTIVE QA

PREDICTIVE QA

Quality Assurance after the product is made

Quality Assurance while the product is made

Quality Assurance before the product is made

Page 4: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

© 2018 Cognizant4

PREDICTIVE QUALITY ASSURANCE

An ML Driven Approach

Page 5: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

THE RISE OF MACHINE INTELLIGENCE

Insect Brain Human BrainMouse Brain Multiple Human Brains

1900 1960 2000 2018 2040 2060

First Computer

ANI – Artificial Narrow Intelligence

AGI – Artificial General Intelligence

ASI – Artificial Super Intelligence

Super Computer

Digital Data - 163,000,000,000,000,000,000,000 bytes

122.3 Petaflops 1000 Petaflops

Page 6: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

INTELLIGENCE FROM DATAP

RIC

E

BUILDING ATTRIBUTES

PR

ICE

BUILDING ATTRIBUTES

Page 7: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

DATA PATTERNS PREDICTIONS

Page 8: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

QA PREDICTIONS

Code

Build

Test

Release

Operate

Requirement

s

Plan

Machine Learning

Natural Language Processing

What is the impact of code change?

Will this build

succeed?

Am I testing with the right

data?

What is the frequency of

release failure?What is customer’s view on

product?

What is the risk

introduced?

Will it fit in the sprint?

Quality Gates

Predict defects based on possible code changes

Predict build success

Predict root cause Predict right test data

Release success predictorPredict customer needs

Predict risky test cases Predict possible defects

User story point predictorPredict schedule variance

Page 9: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

EXAMPLE 1: INCIDENT PREDICTION

MongoDb

MongoDb

Historic Data Gathering & Processing

Requirements

Incidents

MongoDb

MongoDb

Historic Data from Sprint 1 to..n-1

Machine Learning Algorithms

0123456789

10

Incident Prediction Model

Code Changes

IncidentsPrediction Model

Requirements

Code Changes Predict Incidents for Current Sprint

Page 10: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

EXAMPLE 2: TEST DATA PREDICTION

Test Database

Id Mode of Payment

Room Type Discount

0094636 Netbanking Double Corporate

0094640 Debit Single Corporate

00976489 Cash Double Corporate

0084829 Creditcard Single Corporate

Test Data Combinations

Id Mode of Payment

Room Type Discount

0094625 Netbanking Triple Corporate

0094629 Creditcard Double Early Payment

Missing Data Combinations

Production Database

Production Data Combinations

Id Mode of Payment

Room Type Discount

0094625 Netbanking Triple Corporate

0094629 Creditcard Double Early Payment

0096638 Cash Double Corporate

0084829 Creditcard Single Corporate

Page 11: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

EXAMPLE 3: REQUIREMENT PREDICTION

Sentiment

User Experience

Functionality

Performance

Customer’s Perception is Reality

Page 12: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

QA PREDICTIONS DASHBOARD

Page 13: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

PREDICTIVE TO COGNITIVE

REACTIVE

PROACTIVE

Quality Assurance after the product is made

Quality Assurance as soon as the product is made

PREDICTIVE QA

Quality Assurance before the product is made

COGNITIVE QA

Tomorrow

Zero Touch QA from product conceptualization to

realization

Page 14: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

COGNITIVE QUALITY ASSURANCE

Requirement Management

Generated Automation Code

Code Repository

Test ExecutionScheduling

Gherkin Scripts

Predicts Impacted regression test cases

NLP

Developer Checks in code

Historic code changes, Defects, regression test cases

CognizantBots

Test cases – Current Sprint

+

Artefact Repository

Self healing of automation scripts with Cognizant CITS & Craft framework

On Demand Performance Test

On Demand Security Test

Cognizant On Demand Platform

Test Results

Defects

Artificial Intelligent Monitoring - iDashboard

1

2

Developer checks in code

3

5

67

4

Page 15: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

© 2018 Cognizant15

Are predictions predictable?

QA of Machine Intelligence

Page 16: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

PREDICTABILITY OF PREDICTIONS

Non Deterministic Nature | Platforms & Environment | Linguistic Variations

Smart Devices & Dumb Experiences

What will you test?

Page 17: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

TEST THE UN-TESTABLES

Turing Test

Bot Vs Bot API Testing

Crowd TestingVisualization

Metrics

Page 18: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

TESTING THE COGNITIVE ASSISTANTS

Text to Speech

Validate ResponsesSkills Testing

Accent Testing

Regression

Crowd Testing

Page 19: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

DEMO

Page 20: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

LIMITATIONS & LEARNINGS

Finding right data attributes

Interpretation & Visualisation of results

Clear business need and use case

Good infrastructure requirements

Cannot predetermine the success of the model

Steep learning curve

Page 21: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

THE BEGINNING OF THE END

“Natural Stupidity Is More Dangerous Than Artificial Intelligence”

How will AI impact software testing?

How will AI impact you?

Page 22: As The World Turns - TestCon · THE RISE OF MACHINE INTELLIGENCE Insect Brain Mouse Brain Human Brain Multiple Human Brains 1900 1960 2000 2018 2040 2060 First Computer ANI –Artificial

Thank You

© 2018 Cognizant22