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 条
  • [1] Coverage-based regression test case selection, minimization and prioritization: a case study on an industrial system
    Di Nardo, Daniel
    Alshahwan, Nadia
    Briand, Lionel
    Labiche, Yvan
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (04) : 371 - 396
  • [2] Regression test case prioritization by code combinations coverage
    Huang, Rubing
    Zhang, Quanjun
    Towey, Dave
    Sun, Weifeng
    Chen, Jinfu
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 169
  • [3] Combined Source Code Approach for Test Case Prioritization
    IyadAlazzam
    Nahar, Khalid M. O.
    PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND SYSTEM (ICISS 2018), 2018, : 12 - 15
  • [4] Coverage-Based Test Case Prioritisation: An Industrial Case Study
    Di Nardo, Daniel
    Alshahwan, Nadia
    Briand, Lionel
    Labiche, Yvan
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 302 - 311
  • [5] Improving Test Efficiency Through Multiple Criteria Coverage Based Test Case Prioritization Using Modified Heuristic Algorithm
    Joseph, Abraham Kiran
    Radhamani, G.
    Kallimani, Vish
    2016 3RD INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCES (ICCOINS), 2016, : 430 - 435
  • [6] Test Case Prioritization for Continuous Regression Testing: An Industrial Case Study
    Marijan, Dusica
    Gotlieb, Arnaud
    Sen, Sagar
    2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, : 540 - 543
  • [7] Code Coverage-Based Regression Test Selection and Prioritization in WebKit
    Beszedes, Arpad
    Gergely, Tamas
    Schrettner, Lajos
    Jasz, Judit
    Lango, Laszlo
    Gyimothy, Tibor
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 46 - 55
  • [8] Learning for Test Prioritization: An Industrial Case Study
    Busjaeger, Benjamin
    Xie, Tao
    FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 975 - 980
  • [9] A Code Coverage-Based Test Suite Reduction and Prioritization Framework
    Khan, Saif Ur Rehman
    Lee, Sai Peck
    Parizi, Reza Meimandi
    Elahi, Manzoor
    2014 4TH WORLD CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGIES (WICT), 2014, : 229 - 234
  • [10] Coverage-Based Clustering and Scheduling Approach for Test Case Prioritization
    Fu, Wenhao
    Yu, Huiqun
    Fan, Guisheng
    Ji, Xiang
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2017, E100D (06): : 1218 - 1230