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 条
[41]  
Wang XM, 2009, PROC INT CONF SOFTW, P45, DOI 10.1109/ICSE.2009.5070507
[42]  
Wong W. Eric, 2008, 2008 First IEEE International Conference on Software Testing, Verification and Validation (ICST '08), P42
[43]  
Woodward M. R., 2000, Software Engineering Notes, V25, P168, DOI 10.1145/347636.349016
[44]  
Yu YB, 2008, ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P201, DOI 10.1145/1368088.1368116
[45]  
Zhang L, 2009, ISSTA 2009: INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, P213