Diversity-based Test Case Prioritization Technique to Improve Faults Detection Rate

被引:0
作者
Nuh, Jamal Abdullahi [1 ]
Koh, Tieng Wei [1 ]
Baharom, Salmi [1 ]
Osman, Mohd Hafeez [1 ]
Babangida, Lawal [1 ]
Letchmunan, Sukumar [2 ]
Kew, Si Na [3 ]
机构
[1] Univ Putra Malaysia UPM, Fac Comp Sci & Informat Technol, Serdang 43400, Malaysia
[2] Univ Sains Malaysia USM, Sch Comp Sci, George Town 11800, Malaysia
[3] Univ Teknol Malaysia, Fac Social Sci & Humanities, Skudai 80130, Malaysia
关键词
-Regression testing; fault detection; test case prioritization; test case diversity; test case coverage; species diversity; SEARCH;
D O I
10.14569/IJACSA.2023.0140698
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
testing is an important task in software development, but it is often associated with high costs and increased project expenses. To address this challenge, prioritizing test cases during test execution is essential as it aims to swiftly identify the hidden faults in the software. In the literature, several techniques for test case prioritization (TCP) have been proposed and evaluated. However, existing weight based TCP techniques often overlook the true diversity coverage of test cases, resulting in the use of average-based weighting practices and a lack of systematic calculation for test case weights. Our research revolves around prioritizing test cases by considering multiple code coverage criteria. The study presents a novel diversity technique that calculates a diversity coverage score for each test case. This score serves as a weight to effectively rank the test cases. To evaluate the proposed technique, an experiment was conducted using five open-source programs and measured its performance in terms of the average percentage of fault detection (APFD). A comparison was made against an existing technique. The results revealed that the proposed technique significantly improved the fault detection rate compared to the existing approach. It is worth noting that this study is the first of its kind to incorporate the true diversity score of test cases into the TCP process. The findings of our research make valuable contributions to the field of regression testing by enhancing the effectiveness of the testing process through the utilization of diversity-based weighting techniques.
引用
收藏
页码:927 / 934
页数:8
相关论文
共 31 条
  • [11] A Unified Test Case Prioritization Approach
    Hao, Dan
    Zhang, Lingming
    Zhang, Lu
    Rothermel, Gregg
    Mei, Hong
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2014, 24 (02)
  • [12] Advances in Techniques for Test Prioritization
    Hemmati, Hadi
    [J]. ADVANCES IN COMPUTERS, VOL 112, 2019, 112 : 185 - 221
  • [13] Regression test case prioritization by code combinations coverage
    Huang, Rubing
    Zhang, Quanjun
    Towey, Dave
    Sun, Weifeng
    Chen, Jinfu
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 169
  • [14] Combined Source Code Approach for Test Case Prioritization
    IyadAlazzam
    Nahar, Khalid M. O.
    [J]. PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND SYSTEM (ICISS 2018), 2018, : 12 - 15
  • [15] Test case prioritization approaches in regression testing: A systematic literature review
    Khatibsyarbini, Muhammad
    Isa, Mohd Adham
    Jawawi, Dayang N. A.
    Tumeng, Rooster
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 93 : 74 - 93
  • [16] Test case prioritization and distributed testing of object-oriented program
    Kumar, Vipin K. S.
    Mathew, Sheena
    [J]. TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2019, 27 (05) : 3582 - 3598
  • [17] Search algorithms for regression test case prioritization
    Li, Zheng
    Harman, Mark
    Hierons, Robert M.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (04) : 225 - 237
  • [18] A Static Approach to Prioritizing JUnit Test Cases
    Mei, Hong
    Hao, Dan
    Zhang, Lingming
    Zhang, Lu
    Zhou, Ji
    Rothermel, Gregg
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (06) : 1258 - 1275
  • [19] Prioritizing JUnit Test Cases Without Coverage Information: An Optimization Heuristics Based Approach
    Mukherjee, R.
    Patnaik, K. S.
    [J]. IEEE ACCESS, 2019, 7 : 78092 - 78107
  • [20] A survey on different approaches for software test case prioritization
    Mukherjee, Rajendrani
    Patnaik, K. Sridhar
    [J]. JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2021, 33 (09) : 1041 - 1054