6. SOFTWARE TEST LIFE CYCLE
Pre-execution
• Test planning
• Code Review
• Test case
management
Execution
• Automated run
• Defect analysis
Post-
execution
• Debugging
• Regression
suite update
7. SOFTWARE TESTING
Critical task in Software development process
Overspend in time and resources
Automation limited to test execution
10. SOFTWARE TEST LIFE CYCLE
Pre-execution
• Test planning
• Code Review
• Test case
management
Execution
• Automated run
• Defect analysis
Post-
execution
• Debugging
• Regression
suite update
11. SOFTWARE TEST ACTIVITIES AND ML
Software defect prediction
Test Planning
Test case management
Debugging
14. 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
15. LINEAR REGRESSION – DEFECT DENSITY
http://openclassroom.stanford.edu/MainFolder/DocumentPage.php?course=MachineLearning&doc=exercises/ex2/ex2.html
LOC
DefectDensity
16. 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
17. 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.
18. AREAS OF APPLICATION
Machine Learning-based Software Testing: Towards a Classification Framework Mahdi Noorian1, Ebrahim Bagheri1,2, and Wheichang Du1