Test case selection and prioritization using machine learning: a systematic literature review

被引:49
|
作者
Pan, Rongqi [1 ]
Bagherzadeh, Mojtaba [1 ]
Ghaleb, Taher A. [1 ]
Briand, Lionel [1 ,2 ]
机构
[1] Univ Ottawa, Sch Elect Engn & Comp Sci EECS, Ottawa, ON, Canada
[2] Univ Luxembourg, SnT Ctr Secur Reliabil & Trust, Luxembourg, Luxembourg
基金
加拿大自然科学与工程研究理事会;
关键词
Machine learning; Software testing; Test case prioritization; Test case selection; Continuous integration; Systematic literature review; REGRESSION;
D O I
10.1007/s10664-021-10066-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression testing is an essential activity to assure that software code changes do not adversely affect existing functionalities. With the wide adoption of Continuous Integration (CI) in software projects, which increases the frequency of running software builds, running all tests can be time-consuming and resource-intensive. To alleviate that problem, Test case Selection and Prioritization (TSP) techniques have been proposed to improve regression testing by selecting and prioritizing test cases in order to provide early feedback to developers. In recent years, researchers have relied on Machine Learning (ML) techniques to achieve effective TSP (ML-based TSP). Such techniques help combine information about test cases, from partial and imperfect sources, into accurate prediction models. This work conducts a systematic literature review focused on ML-based TSP techniques, aiming to perform an in-depth analysis of the state of the art, thus gaining insights regarding future avenues of research. To that end, we analyze 29 primary studies published from 2006 to 2020, which have been identified through a systematic and documented process. This paper addresses five research questions addressing variations in ML-based TSP techniques and feature sets for training and testing ML models, alternative metrics used for evaluating the techniques, the performance of techniques, and the reproducibility of the published studies. We summarize the results related to our research questions in a high-level summary that can be used as a taxonomy for classifying future TSP studies.
引用
收藏
页数:43
相关论文
共 50 条
  • [1] Test case selection and prioritization using machine learning: a systematic literature review
    Rongqi Pan
    Mojtaba Bagherzadeh
    Taher A. Ghaleb
    Lionel Briand
    [J]. Empirical Software Engineering, 2022, 27
  • [2] Systematic Literature Review on Test Case Selection and Prioritization: A Tertiary Study
    Singhal, Shweta
    Jatana, Nishtha
    Suri, Bharti
    Misra, Sanjay
    Fernandez-Sanz, Luis
    [J]. APPLIED SCIENCES-BASEL, 2021, 11 (24):
  • [3] A Systematic Literature Review of Test Case Prioritization Using Genetic Algorithms
    Bajaj, Anu
    Sangwan, Om Prakash
    [J]. IEEE ACCESS, 2019, 7 : 126355 - 126375
  • [4] A Systematic Literature Review on Regression Test Case Prioritization
    Rahmani, Ani
    Ahmad, Sabrina
    Jalil, Intan Ermahani A.
    Herawan, Adhitia Putra
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2021, 12 (09) : 253 - 267
  • [5] Test case prioritization: a systematic review and mapping of the literature
    Campos Junior, Heleno de S.
    Araujo, Marco Antonio P.
    David, Jose Maria N.
    Braga, Regina
    Campos, Fernanda
    Stroele, Victor
    [J]. XXXI BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING (SBES 2017), 2017, : 34 - 43
  • [6] Regression Test Case Prioritization: A Systematic Literature Review
    Samad, Ali
    Mahdin, Hairulnizam
    Kazmi, Rafaqut
    Ibrahim, Rosziati
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2021, 12 (02) : 655 - 663
  • [7] A Systematic Literature Review on Test Case Prioritization in Combinatorial Testing
    Manan, Muhammad Syafiq Abdul
    Jawawi, Dayang Norhayati Abang
    Ahmad, Johanna
    [J]. 5TH INTERNATIONAL CONFERENCE ON ALGORITHMS, COMPUTING AND SYSTEMS, ICACS 2021, 2021, : 55 - 61
  • [8] Test Case Selection: A Systematic Literature Review
    Narciso, Everton Note
    Delamaro, Marcio Eduardo
    Dos Santos Nunes, Fatima De Lourdes
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2014, 24 (04) : 653 - 676
  • [9] An Improvement to Test Case Prioritization Techniques Using Machine Learning
    Khan, Sara
    Pal, Saurabh
    [J]. PROCEEDINGS OF THIRD DOCTORAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE, DOSCI 2022, 2023, 479 : 403 - 417
  • [10] Test case prioritization approaches in regression testing: A systematic literature review
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    Jawawi, Dayang N. A.
    Tumeng, Rooster
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 93 : 74 - 93