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 条
  • [1] Test Case Prioritization Algorithm Based on Improved Code Coverage
    Zhu, Yanan
    Liu, Feng
    IAENG International Journal of Computer Science, 2023, 50 (02)
  • [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] 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
  • [4] 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
  • [5] 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
  • [6] 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
  • [7] 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
  • [8] The drawbacks of statement code coverage test case prioritization related to domain testing
    Banias, Ovidiu
    2016 IEEE 11TH INTERNATIONAL SYMPOSIUM ON APPLIED COMPUTATIONAL INTELLIGENCE AND INFORMATICS (SACI), 2016, : 221 - 224
  • [9] An Industrial Study of Natural Language Processing Based Test case Prioritization
    Yang, Yilin
    Huang, Xinhai
    Hao, Xuefei
    Liu, Zicong
    Chen, Zhenyu
    2017 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2017, : 548 - 549
  • [10] 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