Test Case Prioritization in Continuous Integration environments: A systematic mapping study

被引:59
|
作者
Prado Lima, Jackson A. [1 ]
Vergilio, Silvia R. [1 ]
机构
[1] Fed Univ Parana UFPR, Dept Informat, CP 19081, BR-81531980 Curitiba, Parana, Brazil
关键词
Software testing; Continuous Integration; Test Case Prioritization; REGRESSION TEST PRIORITIZATION; SELECTION; DELIVERY; SEARCH; WELL;
D O I
10.1016/j.infsof.2020.106268
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context Continuous Integration (CI) environments allow frequent integration of software changes, making software evolution more rapid and cost-effective. In such environments, the regression test plays an important role, as well as the use of Test Case Prioritization (TCP) techniques. Such techniques attempt to identify the test case order that maximizes certain goals, such as early fault detection. This research subject has been raising interest because some new challenges are faced in the CI context, as TCP techniques need to consider time constraints of the CI environments. Objective: This work presents the results of a systematic mapping study on Test Case Prioritization in Continuous Integration environments (TCPCI) that reports the main characteristics of TCPCI approaches and their evaluation aspects. Method: The mapping was conducted following a plan that includes the definition of research questions, selection criteria and search string, and the selection of search engines. The search returned 35 primary studies classified based on the goal and kind of used TCP technique, addressed CI particularities and testing problems, and adopted evaluation measures. Results: The results show a growing interest in this research subject. Most studies have been published in the last four years. 80% of the approaches are history-based, that is, are based on the failure and test execution history. The great majority of studies report evaluation results by comparing prioritization techniques. The preferred measures are Time and number/percentage of Faults Detected. Few studies address CI testing problems and characteristics, such as parallel execution and test case volatility. Conclusions: We observed a growing number of studies in the field. Future work should explore other information sources such as models and requirements, as well as CI particularities and testing problems, such as test case volatility, time constraint, and flaky tests, to solve existing challenges and offer cost-effective approaches to the software industry.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Test prioritization in continuous integration environments
    Haghighatkhah, Alireza
    Mantyla, Mika
    Oivo, Markku
    Kuvaja, Pasi
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 146 : 80 - 98
  • [2] Test case prioritization: a systematic mapping study
    Cagatay Catal
    Deepti Mishra
    Software Quality Journal, 2013, 21 : 445 - 478
  • [3] Test case prioritization: a systematic mapping study
    Catal, Cagatay
    Mishra, Deepti
    SOFTWARE QUALITY JOURNAL, 2013, 21 (03) : 445 - 478
  • [4] Test Case Prioritization using Transfer Learning in Continuous Integration Environments
    Mamata, Rezwana
    Azim, Akramul
    Liscano, Ramiro
    Smith, Kevin
    Chang, Yee-Kang
    Seferi, Gkerta
    Tauseef, Qasim
    2023 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST, 2023, : 191 - 200
  • [5] A Multi-Armed Bandit Approach for Test Case Prioritization in Continuous Integration Environments
    Lima, Jackson A. Prado
    Vergilio, Silvia Regina
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (02) : 453 - 465
  • [6] Comparative study of machine learning test case prioritization for continuous integration testing
    Dusica Marijan
    Software Quality Journal, 2023, 31 : 1415 - 1438
  • [7] Comparative study of machine learning test case prioritization for continuous integration testing
    Marijan, Dusica
    SOFTWARE QUALITY JOURNAL, 2023, 31 (04) : 1415 - 1438
  • [8] 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
    XXXI BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING (SBES 2017), 2017, : 34 - 43
  • [9] Scalable and Accurate Test Case Prioritization in Continuous Integration Contexts
    Yaraghi, Ahmadreza Saboor
    Bagherzadeh, Mojtaba
    Kahani, Nafiseh
    Briand, Lionel C.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 1615 - 1639
  • [10] Multi-Armed Bandit Test Case Prioritization in Continuous Integration Environments: A Trade-off Analysis
    Prado Lima, Jackson A.
    Vergilio, Silvia R.
    PROCEEDINGS OF THE 5TH BRAZILIAN SYMPOSIUM ON SYSTEMATIC AND AUTOMATED SOFTWARE TESTING, SAST 2020, 2020, : 21 - 30