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
来源
关键词
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 条
  • [21] Reliability Improvement Based on Prioritization of Source Code
    Ray, Mitrabinda
    Mohapatra, Durga Prasad
    DISTRIBUTED COMPUTING AND INTERNET TECHNOLOGY, PROCEEDINGS, 2010, 5966 : 212 - 223
  • [22] Comparing logic coverage criteria on test case prioritization
    ChunRong Fang
    ZhenYu Chen
    BaoWen Xu
    Science China Information Sciences, 2012, 55 : 2826 - 2840
  • [23] Comparing logic coverage criteria on test case prioritization
    Fang ChunRong
    Chen ZhenYu
    Xu BaoWen
    SCIENCE CHINA-INFORMATION SCIENCES, 2012, 55 (12) : 2826 - 2840
  • [24] Comparing logic coverage criteria on test case prioritization
    FANG ChunRong 1
    2 Software Institute
    ScienceChina(InformationSciences), 2012, 55 (12) : 2826 - 2840
  • [25] Total Coverage Based Regression Test Case Prioritization using Genetic Algorithm
    Konsaard, Patipat
    Ramingwong, Lachana
    2015 12TH INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING/ELECTRONICS, COMPUTER, TELECOMMUNICATIONS AND INFORMATION TECHNOLOGY (ECTI-CON), 2015,
  • [26] An Efficient Method for Testing Source Code by Using Test Case Reduction, Prioritization and Prioritized Parallelization
    Udupa, Pradeep
    Nithyanandam, S.
    2019 5TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING & COMMUNICATION SYSTEMS (ICACCS), 2019, : 1192 - 1196
  • [27] Can Code Representation Boost IR-Based Test Case Prioritization?
    Yang, Lin
    Chen, Junjie
    You, Hanmo
    Han, Jiachen
    Jiang, Jiajun
    Sun, Zhe
    Lin, Xinqi
    Liang, Fang
    Kang, Yuning
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 240 - 251
  • [28] Dynamic Test Case Prioritization in Industrial Test Result Datasets
    Torbunova, Alina
    Strandberg, Per Erik
    Porres, Ivan
    PROCEEDINGS OF THE 2024 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST 2024, 2024, : 154 - 158
  • [29] Post Prioritization Techniques to Improve Code Coverage for SARSA Generated Test Cases
    Khan, Md Khorrom
    Michaels, Ryan
    Williams, Dylan
    Dinal, Benjamin
    Gurkas, Beril
    Luloh, Austin
    Bryce, Renee
    2023 IEEE 13TH ANNUAL COMPUTING AND COMMUNICATION WORKSHOP AND CONFERENCE, CCWC, 2023, : 1029 - 1035
  • [30] A Multi-factored Cost- and Code Coverage-Based Test Case Prioritization Technique for Object-Oriented Software
    Vedpal
    Chauhan, Naresh
    SOFTWARE ENGINEERING (CSI 2015), 2019, 731 : 27 - 36