The integration of machine learning into automated test generation: A systematic mapping study

被引:0
|
作者
Fontes, Afonso [1 ,2 ]
Gay, Gregory [1 ,2 ]
机构
[1] Chalmers, Dept Comp Sci & Engn, Gothenburg, Sweden
[2] Univ Gothenburg, Gothenburg, Sweden
来源
基金
瑞典研究理事会;
关键词
automated test generation; machine learning; test case generation; test input generation; test oracle generation; NEURAL-NETWORK; SOFTWARE;
D O I
10.1002/stvr.1845
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Machine learning (ML) may enable effective automated test generation. We characterize emerging research, examining testing practices, researcher goals, ML techniques applied, evaluation, and challenges in this intersection by performing. We perform a systematic mapping study on a sample of 124 publications. ML generates input for system, GUI, unit, performance, and combinatorial testing or improves the performance of existing generation methods. ML is also used to generate test verdicts, property-based, and expected output oracles. Supervised learning-often based on neural networks-and reinforcement learning-often based on Q-learning-are common, and some publications also employ unsupervised or semi-supervised learning. (Semi-/Un-)Supervised approaches are evaluated using both traditional testing metrics and ML-related metrics (e.g., accuracy), while reinforcement learning is often evaluated using testing metrics tied to the reward function. The work-to-date shows great promise, but there are open challenges regarding training data, retraining, scalability, evaluation complexity, ML algorithms employed-and how they are applied-benchmarks, and replicability. Our findings can serve as a roadmap and inspiration for researchers in this field.
引用
收藏
页数:38
相关论文
共 50 条
  • [1] Combinatorial testing and machine learning for automated test generation
    Le Traon, Yves
    Xie, Tao
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2023, 33 (04):
  • [2] Serverless on Machine Learning: A Systematic Mapping Study
    Barrak, Amine
    Petrillo, Fabio
    Jaafar, Fehmi
    [J]. IEEE ACCESS, 2022, 10 : 99337 - 99352
  • [3] Systematic Mapping Study in Automatic Test Case Generation
    Mohi-Aldeen, Shayma Mustafa
    Deris, Safaai
    Mohamad, Radziah
    [J]. NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2014, 265 : 703 - 720
  • [4] Coverage-Directed Test Generation Automated by Machine Learning - A Review
    Ioannides, Charalambos
    Eder, Kerstin I.
    [J]. ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2012, 17 (01)
  • [5] Preparation Method in Automated Test Case Generation using Machine Learning
    Kikuma, Kazuhiro
    Yamada, Takeshi
    Sato, Koki
    Ueda, Kiyoshi
    [J]. SOICT 2019: PROCEEDINGS OF THE TENTH INTERNATIONAL SYMPOSIUM ON INFORMATION AND COMMUNICATION TECHNOLOGY, 2019, : 393 - 398
  • [6] Requirements Engineering for Machine Learning: A Systematic Mapping Study
    Villamizar, Hugo
    Escovedo, Tatiana
    Kalinowski, Marcos
    [J]. 2021 47TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2021), 2021, : 29 - 36
  • [7] A systematic mapping study on testing of machine learning programs
    Sherin, Salman
    Khan, Muhammad Uzair
    Iqbal, Muhammad Zohaib
    [J]. arXiv, 2019,
  • [8] Machine Learning and Traditional Econometric Models: A Systematic Mapping Study
    Perez-Pons, Maria E.
    Parra-Dominguez, Javier
    Omatu, Sigeru
    Herrera-Viedma, Enrique
    Manuel Corchado, Juan
    [J]. JOURNAL OF ARTIFICIAL INTELLIGENCE AND SOFT COMPUTING RESEARCH, 2022, 12 (02) : 79 - 100
  • [9] Microservices Adaptation using Machine Learning: A Systematic Mapping Study
    Hilali, Anouar
    Hafiddi, Hatim
    El Akkaoui, Zineb
    [J]. PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2021, : 521 - 532
  • [10] Machine Learning Applied to Software Testing: A Systematic Mapping Study
    Durelli, Vinicius H. S.
    Durelli, Rafael S.
    Borges, Simone S.
    Endo, Andre T.
    Eler, Marcelo M.
    Dias, Diego R. C.
    Guimaraes, Marcelo P.
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2019, 68 (03) : 1189 - 1212