SlideShare a Scribd company logo
1 of 37
Download to read offline
Evolution of Quality and
Role of QA/Test Engineers
Roopesh Kohad
Introduction
● Name: Roopesh Kohad
● Designation: Sr. Project Manager
● Company: Synerzip Softech India Pvt. Ltd.
● Contact: +91-9970010578
● Email: roopesh.kohad@synerzip.com
● Topic: Evolution of Quality and Role of QA/Test Engineers
● Profile: Currently working at Synerzip Softech as Sr. Project Manager,
managing multiple accounts and part of Presales team from offshore.
Enthusiast on newer set of technologies - Cloud Computing, Big Data,
AI/Machine Learning, Blockchain.
● Interests: Likes to read books, travel and interact with people.
Past PSTC Themes
● 2015: Assure your Testing Agility
● 2016: Transformation of Testing Techniques
● 2017: Way beyond Digital Assurance
● 2018: Connecting Machine Learning, AI, IoT, Blockchain
and Big Data together
○ Neither “testing” not “assurance” figure in the theme!!
Agenda
● Artificial Intelligence overview
● AI / ML / DL / Conventional Systems
● Challenge of Testing Intelligent System
● Software Quality & Testability
● Claim about Testing Non-Functional Attributes
● Difference in approach of Testing Intelligent vs Conventional Systems
● Role of QA/Test Professional in testing Intelligent Systems
● Intelligent Testing
Artificial Intelligence is here
Artificial Intelligence Stages
Source: AI: What's Working, What's Not
Weak or Narrow AI
Kind of Intelligent Systems we are going to encounter
● Weak or Narrow AI i.e. in narrow field of application
● Examples
○ Recommendation Systems
○ Chatbots
○ Virtual Assistants
○ Robots
● Weak or Narrow AI is what is leading to most of the Automation !!
Artificial Intelligence Scope
Source: What's required for a machine to be intelligent
Artificial Intelligence / ML / DL
Source: Cousins of AI
ML vs DL
Source: ML vs DL
Conventional System
Source: Flowchart Tutorial
Conventional System
● Explicitly coded with the logic by humans or developers
● They are stateful and number of states of system could be enormous
● As long as State is frozen, same inputs would result in same output
● Functionality of a Conventional System is “Deterministic”
● Possible to have a “Test Oracles”!
● Conventional System clubbed with its maintainers could be called
“Intelligent”!!
Machine Learning Process
Source: What is Machine Learning?
Machine Learning System
● Learning Algorithm is trained and a model is developed which is
approximation of underlying problem space
● Humans are integral part of learning - providing data, learning algorithm and
measuring performance before it is put out
● As more and more data is provided, the system improves itself
● Same input at different stages of training could yield different output even if
State of system is frozen
● Not possible to have a Test Oracle!
● Functionality of a Machine Learning system is “Non-Deterministic”
Machine Learning Types
Source: What is machine learning?
Challenge of testing an Intelligent System
Non-Deterministic or approximation nature of
Intelligent Systems
Software Quality
● Software functional quality reflects how well it complies with or conforms to a
given design, based on functional requirements or specifications.
● Software structural quality refers to how it meets non-functional requirements
that support the delivery of the functional requirements, such as performance,
reliability.
Source: Wikipedia
Non-functional Quality Attributes
● Performance
● Security
● Usability
● Reliability
● Maintainability
● ….
● Effectiveness
● Accuracy
● ….
● List of Quality Attributes
Testability
Source: SEI CMU
Testing of Non-functional Attributes
● Application or System Under Test is actually a “System of Systems” of
Hardware/Software systems like Cloud, VMs, OSes, Networking, Internet.
● Testability of Systems reduce to the extent that Quality of non-functional
aspects become Non-deterministic
● Non-functional Quality is “Perceptible” or “Experiential”
● We can never be 100% sure of quality of Non-functional attributes
● Absence of “Test Oracles”
● Testing of Non-functional Attributes is Non-Deterministic !!
Intelligent System v/s Non-Functional Attributes
Testing of “Intelligent System” is EQUIVALENT to testing for
“Non-functional” attributes
Testing Deterministic v/s Non-Deterministic
Inherent difference in testing Deterministic vs
Nondeterministic is whether Testing is a Destructive or
Constructive process
Role of QA/Test Professional
QA / Test professional has to play “constructive” role in
building an “Intelligent” system
Steps to build Machine Learning System
Source: Building a Machine Learning Model from A-Z
Data Preparation
Steps:
● Query Data
● Clean Data
○ Deal with missing values
○ Remove outliers
● Format Data
More like an ETL step!!
Feature Engineering
“Process of transforming raw data into features that better represent the
underlying problem to the predictive models, resulting in improved model accuracy
on unseen data.”
Steps:
● Brainstorm features
● Create features
● Check how the features work with the model
● Start again from first until the features work perfectly
Data Modelling
Source: How to become a Data Scientist
Performance Measure - Metrics
Mathematical / Statistical way of measuring performance of ML Model
● Classification Accuracy
● Logarithmic Loss
● Confusion Matrix
● Area under Curve
● F1 Score
● Mean Absolute Error
● Mean Squared Error
Performance Measure - Other Approaches
● Testing by End User or Crowd testing
○ Test with real users
● Equivalence classes or ranges of output or tolerance
○ Assert (somewhat expected ~ actual)
● Ranking of output
○ Instead of Pass/Fail, rank outputs
● Comparison Test
○ Compare with a competing system
Skills for a ML QA/Test Engineer
● All qualities of QA/Test Engineer
● ...
● Academic or Learning mindset
● Understand Machine Learning methodology (except Data Science)
● Bit of Maths - Probability and Stats
● Business Domain expertise especially User Behavior and Factors in play
● Expertise with ML tools - Python and ML modules
● Expertise with Data - SQL, NoSQL or ETL
What can QA/Test Engineer do before testing AI?
Start working on non-functional requirements right away -
Performance, Security to gain the mindset.
Intelligent Testing
Source: The era of Intelligent Testing
AI/ML for Testing purposes
● Test Automation
○ Authoring Automated UI Testing
○ Self-Healing Automated Tests
○ API Testing
○ Visual Inspection of UI
● Test Suite optimization
○ Optimize test cases
● Defect Analytics
AI/ML Testing vendors
● Test Automation
○ Test.ai
○ mabl.com
○ testim.io
● Visual Inspection
○ Applitools.com
● API Testing
○ Parasoft Smart API Test Generator
● Service Offering
○ Infosys
○ Accenture
IoT, Big Data and Artificial Intelligence
Source: AI, Big Data, IoT
Pstc 2018

More Related Content

What's hot

MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.Bob Binder
 
What is Prototype Model and Phases of Prototype Model?
What is Prototype Model and Phases of Prototype Model?What is Prototype Model and Phases of Prototype Model?
What is Prototype Model and Phases of Prototype Model?Sovereign software solution
 
User Story vs. UseCase : Introductory Primer
User Story vs. UseCase : Introductory PrimerUser Story vs. UseCase : Introductory Primer
User Story vs. UseCase : Introductory PrimerKristyn Greenwood
 
User Interface and User Experience
User Interface and User ExperienceUser Interface and User Experience
User Interface and User ExperienceSibel Kuzgun AKIN
 
Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02prasanna chitra
 
Innoslate's Ontology - LML, SysML, DoDAF, and more
Innoslate's Ontology - LML, SysML, DoDAF, and moreInnoslate's Ontology - LML, SysML, DoDAF, and more
Innoslate's Ontology - LML, SysML, DoDAF, and moreElizabeth Steiner
 
Code Review tool for personal effectiveness and waste analysis
Code Review tool for personal effectiveness and waste analysisCode Review tool for personal effectiveness and waste analysis
Code Review tool for personal effectiveness and waste analysisMikalai Alimenkou
 
Interview questions
Interview questionsInterview questions
Interview questionssivareddyeda
 
Sushma_ManualQTP_Testing
Sushma_ManualQTP_TestingSushma_ManualQTP_Testing
Sushma_ManualQTP_Testingsushma rathod
 
Prototype model of SDLC
Prototype model of SDLCPrototype model of SDLC
Prototype model of SDLCKumar Sethi
 

What's hot (19)

Test case writing
Test case writingTest case writing
Test case writing
 
MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.MDD and the Tautology Problem: Discussion Notes.
MDD and the Tautology Problem: Discussion Notes.
 
What is Prototype Model and Phases of Prototype Model?
What is Prototype Model and Phases of Prototype Model?What is Prototype Model and Phases of Prototype Model?
What is Prototype Model and Phases of Prototype Model?
 
How to write defect
How to write defectHow to write defect
How to write defect
 
User Story vs. UseCase : Introductory Primer
User Story vs. UseCase : Introductory PrimerUser Story vs. UseCase : Introductory Primer
User Story vs. UseCase : Introductory Primer
 
Software testing
Software testingSoftware testing
Software testing
 
User stories
User storiesUser stories
User stories
 
tulasi
tulasitulasi
tulasi
 
User Interface and User Experience
User Interface and User ExperienceUser Interface and User Experience
User Interface and User Experience
 
Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02
 
Testing Software
Testing SoftwareTesting Software
Testing Software
 
Prototype model
Prototype modelPrototype model
Prototype model
 
Prototype Model
Prototype ModelPrototype Model
Prototype Model
 
Innoslate's Ontology - LML, SysML, DoDAF, and more
Innoslate's Ontology - LML, SysML, DoDAF, and moreInnoslate's Ontology - LML, SysML, DoDAF, and more
Innoslate's Ontology - LML, SysML, DoDAF, and more
 
Code Review tool for personal effectiveness and waste analysis
Code Review tool for personal effectiveness and waste analysisCode Review tool for personal effectiveness and waste analysis
Code Review tool for personal effectiveness and waste analysis
 
Manual Testing.
Manual Testing.Manual Testing.
Manual Testing.
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Sushma_ManualQTP_Testing
Sushma_ManualQTP_TestingSushma_ManualQTP_Testing
Sushma_ManualQTP_Testing
 
Prototype model of SDLC
Prototype model of SDLCPrototype model of SDLC
Prototype model of SDLC
 

Similar to Pstc 2018

AI hype or reality
AI  hype or realityAI  hype or reality
AI hype or realityAwantik Das
 
Lessons Learned When Automating
Lessons Learned When AutomatingLessons Learned When Automating
Lessons Learned When AutomatingAlan Richardson
 
A New Model for Testing
A New Model for TestingA New Model for Testing
A New Model for TestingSQALab
 
Rsqrd AI: From R&D to ROI of AI
Rsqrd AI: From R&D to ROI of AIRsqrd AI: From R&D to ROI of AI
Rsqrd AI: From R&D to ROI of AISanjana Chowdhury
 
MLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionMLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionProvectus
 
Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016
Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016
Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016MLconf
 
AI for Software Engineering
AI for Software EngineeringAI for Software Engineering
AI for Software EngineeringMiroslaw Staron
 
Advancing Testing Using Axioms
Advancing Testing Using AxiomsAdvancing Testing Using Axioms
Advancing Testing Using AxiomsSQALab
 
Building A Machine Learning Platform At Quora (1)
Building A Machine Learning Platform At Quora (1)Building A Machine Learning Platform At Quora (1)
Building A Machine Learning Platform At Quora (1)Nikhil Garg
 
Demise of test scripts rise of test ideas
Demise of test scripts rise of test ideasDemise of test scripts rise of test ideas
Demise of test scripts rise of test ideasRichard Robinson
 
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...Xavier Amatriain
 
Slides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdf
Slides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdfSlides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdf
Slides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdfvitm11
 
A New Model For Testing
A New Model For TestingA New Model For Testing
A New Model For TestingTEST Huddle
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Turkish Testing Board
 
Techniques for building robust machine learning systems
Techniques for building robust machine learning systemsTechniques for building robust machine learning systems
Techniques for building robust machine learning systemsStephen Whitworth
 

Similar to Pstc 2018 (20)

AI hype or reality
AI  hype or realityAI  hype or reality
AI hype or reality
 
Lessons Learned When Automating
Lessons Learned When AutomatingLessons Learned When Automating
Lessons Learned When Automating
 
A New Model for Testing
A New Model for TestingA New Model for Testing
A New Model for Testing
 
Rsqrd AI: From R&D to ROI of AI
Rsqrd AI: From R&D to ROI of AIRsqrd AI: From R&D to ROI of AI
Rsqrd AI: From R&D to ROI of AI
 
MLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in ProductionMLOps and Data Quality: Deploying Reliable ML Models in Production
MLOps and Data Quality: Deploying Reliable ML Models in Production
 
Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016
Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016
Nikhil Garg, Engineering Manager, Quora at MLconf SF 2016
 
AI for Software Engineering
AI for Software EngineeringAI for Software Engineering
AI for Software Engineering
 
Advancing Testing Using Axioms
Advancing Testing Using AxiomsAdvancing Testing Using Axioms
Advancing Testing Using Axioms
 
Building A Machine Learning Platform At Quora (1)
Building A Machine Learning Platform At Quora (1)Building A Machine Learning Platform At Quora (1)
Building A Machine Learning Platform At Quora (1)
 
Machine learning
Machine learningMachine learning
Machine learning
 
Demise of test scripts rise of test ideas
Demise of test scripts rise of test ideasDemise of test scripts rise of test ideas
Demise of test scripts rise of test ideas
 
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
Recsys 2016 tutorial: Lessons learned from building real-life recommender sys...
 
Slides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdf
Slides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdfSlides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdf
Slides-Артем Коваль-Cloud-Native MLOps Framework - DataFest 2021.pdf
 
C3 w4
C3 w4C3 w4
C3 w4
 
New model
New modelNew model
New model
 
A New Model For Testing
A New Model For TestingA New Model For Testing
A New Model For Testing
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
 
Techniques for building robust machine learning systems
Techniques for building robust machine learning systemsTechniques for building robust machine learning systems
Techniques for building robust machine learning systems
 
MLOps.pptx
MLOps.pptxMLOps.pptx
MLOps.pptx
 
Aws autopilot
Aws autopilotAws autopilot
Aws autopilot
 

Recently uploaded

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Pstc 2018

  • 1. Evolution of Quality and Role of QA/Test Engineers Roopesh Kohad
  • 2. Introduction ● Name: Roopesh Kohad ● Designation: Sr. Project Manager ● Company: Synerzip Softech India Pvt. Ltd. ● Contact: +91-9970010578 ● Email: roopesh.kohad@synerzip.com ● Topic: Evolution of Quality and Role of QA/Test Engineers ● Profile: Currently working at Synerzip Softech as Sr. Project Manager, managing multiple accounts and part of Presales team from offshore. Enthusiast on newer set of technologies - Cloud Computing, Big Data, AI/Machine Learning, Blockchain. ● Interests: Likes to read books, travel and interact with people.
  • 3. Past PSTC Themes ● 2015: Assure your Testing Agility ● 2016: Transformation of Testing Techniques ● 2017: Way beyond Digital Assurance ● 2018: Connecting Machine Learning, AI, IoT, Blockchain and Big Data together ○ Neither “testing” not “assurance” figure in the theme!!
  • 4. Agenda ● Artificial Intelligence overview ● AI / ML / DL / Conventional Systems ● Challenge of Testing Intelligent System ● Software Quality & Testability ● Claim about Testing Non-Functional Attributes ● Difference in approach of Testing Intelligent vs Conventional Systems ● Role of QA/Test Professional in testing Intelligent Systems ● Intelligent Testing
  • 6. Artificial Intelligence Stages Source: AI: What's Working, What's Not
  • 8. Kind of Intelligent Systems we are going to encounter ● Weak or Narrow AI i.e. in narrow field of application ● Examples ○ Recommendation Systems ○ Chatbots ○ Virtual Assistants ○ Robots ● Weak or Narrow AI is what is leading to most of the Automation !!
  • 9. Artificial Intelligence Scope Source: What's required for a machine to be intelligent
  • 10. Artificial Intelligence / ML / DL Source: Cousins of AI
  • 11. ML vs DL Source: ML vs DL
  • 13. Conventional System ● Explicitly coded with the logic by humans or developers ● They are stateful and number of states of system could be enormous ● As long as State is frozen, same inputs would result in same output ● Functionality of a Conventional System is “Deterministic” ● Possible to have a “Test Oracles”! ● Conventional System clubbed with its maintainers could be called “Intelligent”!!
  • 14. Machine Learning Process Source: What is Machine Learning?
  • 15. Machine Learning System ● Learning Algorithm is trained and a model is developed which is approximation of underlying problem space ● Humans are integral part of learning - providing data, learning algorithm and measuring performance before it is put out ● As more and more data is provided, the system improves itself ● Same input at different stages of training could yield different output even if State of system is frozen ● Not possible to have a Test Oracle! ● Functionality of a Machine Learning system is “Non-Deterministic”
  • 16. Machine Learning Types Source: What is machine learning?
  • 17. Challenge of testing an Intelligent System Non-Deterministic or approximation nature of Intelligent Systems
  • 18. Software Quality ● Software functional quality reflects how well it complies with or conforms to a given design, based on functional requirements or specifications. ● Software structural quality refers to how it meets non-functional requirements that support the delivery of the functional requirements, such as performance, reliability. Source: Wikipedia
  • 19. Non-functional Quality Attributes ● Performance ● Security ● Usability ● Reliability ● Maintainability ● …. ● Effectiveness ● Accuracy ● …. ● List of Quality Attributes
  • 21. Testing of Non-functional Attributes ● Application or System Under Test is actually a “System of Systems” of Hardware/Software systems like Cloud, VMs, OSes, Networking, Internet. ● Testability of Systems reduce to the extent that Quality of non-functional aspects become Non-deterministic ● Non-functional Quality is “Perceptible” or “Experiential” ● We can never be 100% sure of quality of Non-functional attributes ● Absence of “Test Oracles” ● Testing of Non-functional Attributes is Non-Deterministic !!
  • 22. Intelligent System v/s Non-Functional Attributes Testing of “Intelligent System” is EQUIVALENT to testing for “Non-functional” attributes
  • 23. Testing Deterministic v/s Non-Deterministic Inherent difference in testing Deterministic vs Nondeterministic is whether Testing is a Destructive or Constructive process
  • 24. Role of QA/Test Professional QA / Test professional has to play “constructive” role in building an “Intelligent” system
  • 25. Steps to build Machine Learning System Source: Building a Machine Learning Model from A-Z
  • 26. Data Preparation Steps: ● Query Data ● Clean Data ○ Deal with missing values ○ Remove outliers ● Format Data More like an ETL step!!
  • 27. Feature Engineering “Process of transforming raw data into features that better represent the underlying problem to the predictive models, resulting in improved model accuracy on unseen data.” Steps: ● Brainstorm features ● Create features ● Check how the features work with the model ● Start again from first until the features work perfectly
  • 28. Data Modelling Source: How to become a Data Scientist
  • 29. Performance Measure - Metrics Mathematical / Statistical way of measuring performance of ML Model ● Classification Accuracy ● Logarithmic Loss ● Confusion Matrix ● Area under Curve ● F1 Score ● Mean Absolute Error ● Mean Squared Error
  • 30. Performance Measure - Other Approaches ● Testing by End User or Crowd testing ○ Test with real users ● Equivalence classes or ranges of output or tolerance ○ Assert (somewhat expected ~ actual) ● Ranking of output ○ Instead of Pass/Fail, rank outputs ● Comparison Test ○ Compare with a competing system
  • 31. Skills for a ML QA/Test Engineer ● All qualities of QA/Test Engineer ● ... ● Academic or Learning mindset ● Understand Machine Learning methodology (except Data Science) ● Bit of Maths - Probability and Stats ● Business Domain expertise especially User Behavior and Factors in play ● Expertise with ML tools - Python and ML modules ● Expertise with Data - SQL, NoSQL or ETL
  • 32. What can QA/Test Engineer do before testing AI? Start working on non-functional requirements right away - Performance, Security to gain the mindset.
  • 33. Intelligent Testing Source: The era of Intelligent Testing
  • 34. AI/ML for Testing purposes ● Test Automation ○ Authoring Automated UI Testing ○ Self-Healing Automated Tests ○ API Testing ○ Visual Inspection of UI ● Test Suite optimization ○ Optimize test cases ● Defect Analytics
  • 35. AI/ML Testing vendors ● Test Automation ○ Test.ai ○ mabl.com ○ testim.io ● Visual Inspection ○ Applitools.com ● API Testing ○ Parasoft Smart API Test Generator ● Service Offering ○ Infosys ○ Accenture
  • 36. IoT, Big Data and Artificial Intelligence Source: AI, Big Data, IoT