Prioritizing tests for software fault diagnosis

被引:24
作者
Gonzalez-Sanchez, Alberto [1 ]
Piel, Eric [1 ]
Abreu, Rui [2 ]
Gross, Hans-Gerhard [1 ]
van Gemund, Arjan J. C. [1 ]
机构
[1] Delft Univ Technol, Dept Software Technol, NL-2600 AA Delft, Netherlands
[2] Univ Porto, Fac Engn, Dept Informat Engn, Oporto, Portugal
关键词
test prioritization; testing; diagnosis; ALGORITHMS; TESTABILITY;
D O I
10.1002/spe.1065
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
During regression testing, test prioritization techniques select test cases that maximize the confidence on the correctness of the system when the resources for quality assurance (QA) are limited. In the event of a test failing, the fault at the root of the failure has to be localized, adding an extra debugging cost that has to be taken into account as well. However, test suites that are prioritized for failure detection can reduce the amount of useful information for fault localization. This deteriorates the quality of the diagnosis provided, making the subsequent debugging phase more expensive, and defeating the purpose of the test cost minimization. In this paper we introduce a new test case prioritization approach that maximizes the improvement of the diagnostic information per test. Our approach minimizes the loss of diagnostic quality in the prioritized test suite. When considering QA cost as a combination of testing cost and debugging cost, on our benchmark set, the results of our test case prioritization approach show reductions of up to 60% of the overall combined cost of testing and debugging, compared with the next best technique. Copyright (C) 2011 John Wiley & Sons, Ltd.
引用
收藏
页码:1105 / 1129
页数:25
相关论文
共 45 条
[1]   On the accuracy of spectrum-based fault localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, :89-+
[2]   Spectrum-based Multiple Fault Localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, :88-99
[3]  
[Anonymous], EV COMP CEC 2010 IEE
[4]  
Baah GeorgeK., 2008, P 2008 INT S SOFTWAR, P189
[5]  
Baudry B., 2006, Improving test suites for efficient fault localization, P82
[6]   HOLMES: Effective Statistical Debugging via Efficient Path Profiling [J].
Chilimbi, Trishul M. ;
Liblit, Ben ;
Mehra, Krishna ;
Nori, Aditya V. ;
Vaswani, Kapil .
2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2009, :34-+
[7]   Recomputing Coverage Information to Assist Regression Testing [J].
Chittimalli, Pavan Kumar ;
Harrold, Mary Jean .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2009, 35 (04) :452-469
[8]  
de Kleer J, 2009, 21ST INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI-09), PROCEEDINGS, P733
[9]   Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact [J].
Do, HS ;
Elbaum, S ;
Rothermel, G .
EMPIRICAL SOFTWARE ENGINEERING, 2005, 10 (04) :405-435
[10]   Selecting a cost-effective test case prioritization technique [J].
Elbaum, S ;
Rothermel, G ;
Kanduri, S ;
Malishevsky, AG .
SOFTWARE QUALITY JOURNAL, 2004, 12 (03) :185-210