A history-based cost-cognizant test case prioritization technique in regression testing

被引:75
|
作者
Huang, Yu-Chi [3 ]
Peng, Kuan-Li [1 ]
Huang, Chin-Yu [1 ,2 ]
机构
[1] Natl Tsing Hua Univ, Dept Comp Sci, Hsinchu 30043, Taiwan
[2] Natl Tsing Hua Univ, Inst Informat Syst & Applicat, Hsinchu 30043, Taiwan
[3] ASUSTeK Comp Inc, Taipei, Taiwan
关键词
Software testing; Regression testing; Test case prioritization; Fault severity; Software development life cycle; RELIABILITY; PERFORMANCE;
D O I
10.1016/j.jss.2011.09.063
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software testing is typically used to verify whether the developed software product meets its requirements. From the result of software testing, developers can make an assessment about the quality or the acceptability of developed software. It is noted that during testing, the test case is a pair of input and expected output, and a number of test cases will be executed either sequentially or randomly. The techniques of test case prioritization usually schedule test cases for regression testing in an order that attempts to increase the effectiveness. However, the cost of test cases and the severity of faults are usually varied. In this paper, we propose a method of cost-cognizant test case prioritization based on the use of historical records. We gather the historical records from the latest regression testing and then propose a genetic algorithm to determine the most effective order. Some controlled experiments are performed to evaluate the effectiveness of our proposed method. Evaluation results indicate that our proposed method has improved the fault detection effectiveness. It can also been found that prioritizing test cases based on their historical information can provide high test effectiveness during testing. (C) 2011 Elsevier Inc. All rights reserved.
引用
收藏
页码:626 / 637
页数:12
相关论文
共 50 条
  • [1] Value-based cost-cognizant test case prioritization for regression testing
    Ahmed, Farrukh Shahzad
    Majeed, Awais
    Khan, Tamim Ahmed
    Bhatti, Shahid Nazir
    [J]. PLOS ONE, 2022, 17 (07):
  • [2] Value-based cost-cognizant test case prioritization for regression testing
    Ahmed, Farrukh Shahzad
    Majeed, Awais
    Khan, Tamim Ahmed
    Bhatti, Shahid Nazir
    [J]. PLOS ONE, 2022, 17 (05):
  • [3] COST-COGNIZANT COMBINATORIAL TEST CASE PRIORITIZATION
    Wang, Ziyuan
    Chen, Lin
    Xu, Baowen
    Huang, Yan
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2011, 21 (06) : 829 - 854
  • [4] A history-based test prioritization technique for regression testing in resource constrained environments
    Kim, JM
    Porter, A
    [J]. ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2002, : 119 - 129
  • [5] History-Based Dynamic Test Case Prioritization for Requirement Properties in Regression Testing
    Wang, Xiaolin
    Zeng, Hongwei
    [J]. INTERNATIONAL WORKSHOP ON CONTINUOUS SOFTWARE EVOLUTION AND DELIVERY, CSED 2016, 2016, : 41 - 47
  • [6] History-based Test Case Prioritization for Failure Information
    Cho, Younghwan
    Kim, Jeongho
    Lee, Eunseok
    [J]. 2016 23RD ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2016), 2016, : 385 - 388
  • [7] A Topic Model and Test History-Based Test Case Recommendation Method for Regression Testing
    Aman, Hirohisa
    Nakano, Takashi
    Ogasawara, Hideto
    Kawahara, Minoru
    [J]. 2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2018, : 392 - 397
  • [8] An Improved History-Based Test Prioritization Technique Technique Using Code Coverage
    Gupta, Avinash
    Mishra, Nayneesh
    Tripathi, Aprna
    Vardhan, Manu
    Kushwaha, Dharmender Singh
    [J]. ADVANCED COMPUTER AND COMMUNICATION ENGINEERING TECHNOLOGY, 2015, 315 : 437 - 448
  • [9] History-based Test Case Prioritization with Software Version Awareness
    Lin, Chu-Ti
    Chen, Cheng-Ding
    Tsai, Chang-Shi
    Kapfhammer, Gregory M.
    [J]. 2013 18TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS), 2013, : 171 - +
  • [10] History-Based Test Case Prioritization for Black Box Testing using Ant Colony Optimization
    Noguchi, Tadahiro
    Washizaki, Hironori
    Fukazawa, Yoshiaki
    Sato, Atsutoshi
    Ota, Kenichiro
    [J]. 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), 2015,