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

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 

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