3
Most read
4
Most read
6
Most read
MACHINE LEARNING IN SOFTWARE
TESTING
Mithun Kumar S R
IDENTIFY THE MOVIE
a machine can actually learn if we communicate with it
MACHINE LEARNING
Machine Learning is the study of computer algorithms that
improve automatically through experience
- Tom Mitchell
Traditional Programming
Computer
Data
Program
Output
Computer
Data
Machine Learning
Output
Program
HOW THIS WORKS
Training
Data
Test Data
Learning
Machine
Analyzed
data for
prediction
SOFTWARE TEST LIFE CYCLE
Pre-execution
• Test planning
• Code Review
• Test case
management
Execution
• Automated run
• Defect analysis
Post-
execution
• Debugging
• Regression
suite update
SOFTWARE TESTING
Critical task in Software development process
Overspend in time and resources
Automation limited to test execution
SUPERVISED LEARNING
http://www.astroml.org/sklearn_tutorial/general_concepts.html
UNSUPERVISED LEARNING
http://www.astroml.org/sklearn_tutorial/general_concepts.html
SOFTWARE TEST LIFE CYCLE
Pre-execution
• Test planning
• Code Review
• Test case
management
Execution
• Automated run
• Defect analysis
Post-
execution
• Debugging
• Regression
suite update
SOFTWARE TEST ACTIVITIES AND ML
Software defect prediction
Test Planning
Test case management
Debugging
BAYESIAN ALGORITHM FOR SOFTWARE DEFECT
PREDICTION
CLASSIFICATION
https://alliance.seas.upenn.edu/~cis520/wiki/index.php?n=Lectures.Classification
NAÏVE BAYES ALGO
Branch Count LOC Defective
5 15 No
3 5 No
9 20 No
15 40 Yes
16 35 Yes
Branch Count = 16 LOC = 39
C = No -> 0.000000912
C = Yes -> 0.0181
Leandru Minku: Automated Software Defect Prediction Using Machine Learning
LINEAR REGRESSION – DEFECT DENSITY
http://openclassroom.stanford.edu/MainFolder/DocumentPage.php?course=MachineLearning&doc=exercises/ex2/ex2.html
LOC
DefectDensity
TEST PLANNING
Database formation
Data collection
Classification of software
Analyzing the results
Test Cost prediction
Thomas J. Cheatham, Jungsoon P. Yoo, and Nancy J. Wahl. Software testing: a machine learning experiment.
Complexity
Cost
MELBA – MACHINE LEARNING BASED
REFINEMENT OF BLACKBOX TEST SPECIFICATION
Lionel C. Briand. Novel applications of machine learning in software testing. Quality Software, International Conference on, 0:3–10,
2008.
AREAS OF APPLICATION
Machine Learning-based Software Testing: Towards a Classification Framework Mahdi Noorian1, Ebrahim Bagheri1,2, and Wheichang Du1
CHALLENGES
Past data availability
Predictable pattern
STEPS FORWARD
Black Box techniques
Finding the right patterns
Algorithm analysis for different types of test activity
Crowdsourcing
DO CONNECT @
MithunKumar.SR@Gmail.Com

More Related Content

PDF
An Introduction to Test Driven Development
PPT
Test automation process
PPTX
Chapter 3 - Static Testing
PPTX
Software testing.ppt
PPTX
Chapter 2 - Testing Throughout the Development LifeCycle
PDF
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
PPTX
Software testing & Quality Assurance
PPT
Manual testing ppt
An Introduction to Test Driven Development
Test automation process
Chapter 3 - Static Testing
Software testing.ppt
Chapter 2 - Testing Throughout the Development LifeCycle
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software testing & Quality Assurance
Manual testing ppt

What's hot (20)

PPTX
Chapter 1 - Fundamentals of Testing
PPT
Testing concepts ppt
PPTX
Chapter 5 - Test Management
PPTX
Chapter 4 - Test Design Techniques
PPTX
Basics in software testing
PPTX
Software Testing
PPTX
Alpha and beta testing
PPT
Basic software-testing-concepts
PDF
Types of software testing
PDF
What is Software Testing | Edureka
PDF
Software testing methods, levels and types
PPT
Test Automation Best Practices (with SOA test approach)
PDF
Test Automation Strategy
PPT
Black box & white-box testing technique
PPTX
Software testing and process
PPT
Software quality assurance
PPT
Software Testing Fundamentals
PDF
Artificial Intelligence for Automated Software Testing
PDF
Robot Framework Introduction
PDF
ISTQB Foundation Level Basic
Chapter 1 - Fundamentals of Testing
Testing concepts ppt
Chapter 5 - Test Management
Chapter 4 - Test Design Techniques
Basics in software testing
Software Testing
Alpha and beta testing
Basic software-testing-concepts
Types of software testing
What is Software Testing | Edureka
Software testing methods, levels and types
Test Automation Best Practices (with SOA test approach)
Test Automation Strategy
Black box & white-box testing technique
Software testing and process
Software quality assurance
Software Testing Fundamentals
Artificial Intelligence for Automated Software Testing
Robot Framework Introduction
ISTQB Foundation Level Basic
Ad

Similar to Machine learning in software testing (20)

PDF
Why Automation Fails—in Theory and Practice
PPTX
Software Test Automation and Selenium Automation
PPTX
How to make Automation an asset for Organization
PDF
Why Test Automation Fails
PPTX
Questions for successful test automation projects
PDF
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
PPTX
"AI BASED SOFTWARE TESTING" --- Chapter 7.pptx
PPTX
Automated software Testing
PPTX
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
PDF
Implementation of Software Testing
PPT
Qtp - Introduction values
PDF
TEST_AUTOMATION_CASE_STUDY_(2)2[1]
PPTX
Unit 5 st ppt
PPTX
Test_Automation_-_Let's_Talk_Business.ppt
PDF
Wso2con test-automation
PPTX
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
PPTX
How To Transform the Manual Testing Process to Incorporate Test Automation
PDF
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
PPTX
Automation Tools Overview
DOC
Michael Osani_Resume
Why Automation Fails—in Theory and Practice
Software Test Automation and Selenium Automation
How to make Automation an asset for Organization
Why Test Automation Fails
Questions for successful test automation projects
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
"AI BASED SOFTWARE TESTING" --- Chapter 7.pptx
Automated software Testing
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Implementation of Software Testing
Qtp - Introduction values
TEST_AUTOMATION_CASE_STUDY_(2)2[1]
Unit 5 st ppt
Test_Automation_-_Let's_Talk_Business.ppt
Wso2con test-automation
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
How To Transform the Manual Testing Process to Incorporate Test Automation
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
Automation Tools Overview
Michael Osani_Resume
Ad

More from Thoughtworks (20)

PDF
Design System as a Product
PDF
Designers, Developers & Dogs
PDF
Cloud-first for fast innovation
PDF
More impact with flexible teams
PDF
Culture of Innovation
PDF
Dual-Track Agile
PDF
Developer Experience
PDF
When we design together
PDF
Hardware is hard(er)
PDF
Customer-centric innovation enabled by cloud
PDF
Amazon's Culture of Innovation
PDF
When in doubt, go live
PDF
Don't cross the Rubicon
PDF
Error handling
PDF
Your test coverage is a lie!
PDF
Docker container security
PDF
Redefining the unit
PPTX
Technology Radar Webinar UK - Vol. 22
PDF
A Tribute to Turing
PDF
Rsa maths worked out
Design System as a Product
Designers, Developers & Dogs
Cloud-first for fast innovation
More impact with flexible teams
Culture of Innovation
Dual-Track Agile
Developer Experience
When we design together
Hardware is hard(er)
Customer-centric innovation enabled by cloud
Amazon's Culture of Innovation
When in doubt, go live
Don't cross the Rubicon
Error handling
Your test coverage is a lie!
Docker container security
Redefining the unit
Technology Radar Webinar UK - Vol. 22
A Tribute to Turing
Rsa maths worked out

Recently uploaded (20)

PDF
25AF1191PC303 MODULE-1 CHAIN SURVEYING SEMESTER III SURVEYING
PDF
1.-fincantieri-investor-presentation2.pdf
PDF
The Journal of Finance - July 1993 - JENSEN - The Modern Industrial Revolutio...
PPT
Unit - I.lathemachnespct=ificationsand ppt
PDF
ITEC 1010 - Networks and Cloud Computing
PDF
Artificial Intelligence_ Basics .Artificial Intelligence_ Basics .
PDF
LS-6-Digital-Literacy (1) K12 CURRICULUM .pdf
PDF
Module 1 part 1.pdf engineering notes s7
PPTX
Unit IILATHEACCESSORSANDATTACHMENTS.pptx
PPT
UNIT-I Machine Learning Essentials for 2nd years
PDF
Performance, energy consumption and costs: a comparative analysis of automati...
PPTX
quantum theory on the next future in.pptx
PPTX
DATA STRCUTURE LABORATORY -BCSL305(PRG1)
PDF
CBCN cam bien cong nghiep bach khoa da năng
PDF
B461227.pdf American Journal of Multidisciplinary Research and Review
PPTX
Hardware, SLAM tracking,Privacy and AR Cloud Data.
PDF
Recent Trends in Network Security - 2025
PDF
SURVEYING BRIDGING DBATU LONERE 2025 SYLLABUS
PDF
THE PEDAGOGICAL NEXUS IN TEACHING ELECTRICITY CONCEPTS IN THE GRADE 9 NATURAL...
PPTX
Research Writing, Mechanical Engineering
25AF1191PC303 MODULE-1 CHAIN SURVEYING SEMESTER III SURVEYING
1.-fincantieri-investor-presentation2.pdf
The Journal of Finance - July 1993 - JENSEN - The Modern Industrial Revolutio...
Unit - I.lathemachnespct=ificationsand ppt
ITEC 1010 - Networks and Cloud Computing
Artificial Intelligence_ Basics .Artificial Intelligence_ Basics .
LS-6-Digital-Literacy (1) K12 CURRICULUM .pdf
Module 1 part 1.pdf engineering notes s7
Unit IILATHEACCESSORSANDATTACHMENTS.pptx
UNIT-I Machine Learning Essentials for 2nd years
Performance, energy consumption and costs: a comparative analysis of automati...
quantum theory on the next future in.pptx
DATA STRCUTURE LABORATORY -BCSL305(PRG1)
CBCN cam bien cong nghiep bach khoa da năng
B461227.pdf American Journal of Multidisciplinary Research and Review
Hardware, SLAM tracking,Privacy and AR Cloud Data.
Recent Trends in Network Security - 2025
SURVEYING BRIDGING DBATU LONERE 2025 SYLLABUS
THE PEDAGOGICAL NEXUS IN TEACHING ELECTRICITY CONCEPTS IN THE GRADE 9 NATURAL...
Research Writing, Mechanical Engineering

Machine learning in software testing