Test Prioritization Based on the Coverage of Recently Modified Source Code: An Industrial Case Study

被引:0
|
作者
Erol, Hande [1 ,2 ]
Sozer, Hasan [2 ]
机构
[1] Vestel Elect, Manisa, Turkiye
[2] Ozyegin Univ, Istanbul, Turkiye
来源
TESTING SOFTWARE AND SYSTEMS, ICTSS 2024 | 2025年 / 15383卷
关键词
Test case prioritization; regression testing; rate of early fault detection; repository mining; industrial case study;
D O I
10.1007/978-3-031-80889-0_4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression tests are re-executed to ensure quality and lack of side-effects after software changes to incorporate new/improved functionalities and/or bug fixes. Prioritizing these tests for detecting faults earlier can increase productivity especially when the testing duration increases. We conduct an industrial case study in the consumer electronics domain, where regression tests take several weeks to complete. We evaluate the effectiveness of a test prioritization approach in terms of the rate of early fault detection. We analyze test cases individually but apply prioritization at a higher granularity level, where we prioritize weekly test plans rather than individual test cases. Our approach gives higher priority to those test cases that cover the recently modified parts of the source code. We use 3 Digital TV projects as subject systems. We compare the effectiveness of the original execution order of test cases with the alternative ordering as suggested by our approach. Results show that the alternative ordering is more effective in finding faults earlier for all the 3 subject systems, where the rate of early fault detection can be increased by up to 38%.
引用
收藏
页码:46 / 59
页数:14
相关论文
共 50 条
  • [41] Modified Harris Hawks Optimization Based Test Case Prioritization for Software Testing
    Hamza, Manar Ahmed
    Abdelmaboud, Abdelzahir
    Larabi-Marie-Sainte, Souad
    Alshahrani, Haya Mesfer
    Al Duhayyim, Mesfer
    Ibrahim, Hamza Awad
    Rizwanullah, Mohammed
    Yaseen, Ishfaq
    CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 72 (01): : 1951 - 1965
  • [42] Model-Based Regression Test Case Prioritization
    Panigrahi, Chhabi Rani
    Mall, Rajib
    INFORMATION SYSTEMS, TECHNOLOGY AND MANAGEMENT, PROCEEDINGS, 2010, 54 : 380 - 385
  • [43] Cluster-based adaptive test case prioritization
    Wang, Xiaolin
    Zhang, Sulan
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 165
  • [44] A Coupling Effect Based Test Case Prioritization Technique
    Kumar, Harish
    Chauhan, Naresh
    2015 2ND INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT (INDIACOM), 2015, : 1341 - 1345
  • [45] Test case prioritization based on varying testing requirement priorities and test case costs
    Zhang, Xiaofang
    Nie, Changhai
    Xu, Baowen
    Qu, Bo
    USIC 2007: PROCEEDINGS OF THE SEVENTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2007, : 15 - 24
  • [46] Test Case Prioritization Based on Artificial Immune Algorithm
    Xu, Hongwei
    Li, Pengcheng
    Cong, Zhongxiao
    Zhang, Fengzhi
    Pan, Yi
    Ren, Xu
    Wang, Xingde
    Xing, Ying
    TEHNICKI VJESNIK-TECHNICAL GAZETTE, 2021, 28 (06): : 1871 - 1876
  • [47] Test case prioritization for NUnit based test plans in agile environment
    Sarwar, Sohail
    Mahmood, Yasir
    Qayyum, Zia Ul
    Shafi, Imran
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8722 : 246 - 253
  • [48] Test Case Prioritization for NUnit Based Test Plans in Agile Environment
    Sarwar, Sohail
    Mahmood, Yasir
    Ul Qayyum, Zia
    Shafi, Imran
    ARTIFICIAL INTELLIGENCE: METHODOLOGY, SYSTEMS, AND APPLICATIONS, 2014, 8722 : 246 - 253
  • [49] Adapting Code Maintainability to Bat-inspired Test Case Prioritization
    Ozturk, Muhammed Maruf
    2017 IEEE INTERNATIONAL CONFERENCE ON INNOVATIONS IN INTELLIGENT SYSTEMS AND APPLICATIONS (INISTA), 2017, : 67 - 72
  • [50] Test case prioritization for changed code using nature inspired optimizer
    Pathik, Babita
    Pathik, Nikhlesh
    Sharma, Meena
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2023, 44 (04) : 5711 - 5718