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
相关论文
共 69 条
  • [1] Monitoring Informed Testing for IoT
    Abdullah, Ahmed
    Schmidt, Heinz W.
    Spichkova, Maria
    Liu, Huai
    [J]. 2018 25TH AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC), 2018, : 91 - 95
  • [2] Continuous Integration and Visual GUI Testing: Benefits and Drawbacks in Industrial Practice
    Alegroth, Emil
    Karlsson, Arvid
    Radway, Alexander
    [J]. 2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2018, : 172 - 181
  • [3] Enhanced regression testing technique for agile software development and continuous integration strategies
    Ali, Sadia
    Hafeez, Yaser
    Hussain, Shariq
    Yang, Shunkun
    [J]. SOFTWARE QUALITY JOURNAL, 2020, 28 (02) : 397 - 423
  • [4] [Anonymous], 2008, P ACM SIGSOFT INT S
  • [5] Beller M., 2017, P 14 WORKING C MININ
  • [6] Testing and Debugging in Continuous Integration with Budget Quotas on Test Executions
    Jiang, Bo
    Chan, W. K.
    [J]. 2016 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2016), 2016, : 441 - 449
  • [7] Bo Jiang, 2011, Proceedings of the 11th International Conference on Quality Software (QSIC 2011), P21, DOI 10.1109/QSIC.2011.37
  • [8] Bo Jiang, 2010, Proceedings of the Tenth International Conference on Quality Software (QSIC 2010), P377, DOI 10.1109/QSIC.2010.64
  • [9] Learning for Test Prioritization: An Industrial Case Study
    Busjaeger, Benjamin
    Xie, Tao
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 975 - 980
  • [10] Test case prioritization: a systematic mapping study
    Catal, Cagatay
    Mishra, Deepti
    [J]. SOFTWARE QUALITY JOURNAL, 2013, 21 (03) : 445 - 478