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 条
  • [41] Test case prioritization of build acceptance tests for an enterprise cloud application: An industrial case study
    Srikanth, Hema
    Cashman, Mikaela
    Cohen, Myra B.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2016, 119 : 122 - 135
  • [42] 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
  • [43] Test Case Prioritization Based on Data Reuse An Experimental Study
    Lima, Lucas
    Iyoda, Juliano
    Sampaio, Augusto
    Aranha, Eduardo
    ESEM: 2009 3RD INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, 2009, : 280 - +
  • [44] Incorporating fault-proneness estimations into coverage-based test case prioritization methods
    Mandieh, Mostafa
    Mirian-Hosseinabadi, Seyed-Hassan
    Etemadi, Khashayar
    Nosrati, Ali
    Jalali, Sajad
    INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 121
  • [45] Fault Coverage-Based Test Case Prioritization and Selection Using African Buffalo Optimization
    Singhal, Shweta
    Jatana, Nishtha
    Subahi, Ahmad F.
    Gupta, Charu
    Khalaf, Osamah Ibrahim
    Alotaibi, Youseef
    CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 74 (03): : 6755 - 6774
  • [46] Ant Colony System With Sorting-Based Local Search for Coverage-Based Test Case Prioritization
    Lu, Chengyu
    Zhong, Jinghui
    Xue, Yinxing
    Feng, Liang
    Zhang, Jun
    IEEE TRANSACTIONS ON RELIABILITY, 2020, 69 (03) : 1004 - 1020
  • [47] 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
  • [48] 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
  • [49] Modular Based Multiple Test Case Prioritization
    Prakash, N.
    Rangaswamy, T. R.
    2012 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2012, : 496 - 502
  • [50] Value based Regression Test Case Prioritization
    Ashraf, E.
    Rauf, A.
    Mahmood, K.
    WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, WCECS 2012, VOL I, 2012, : 156 - 160