Adaptive software testing with fixed-memory feedback

被引:38
作者
Cai, Kai-Yuan [1 ]
Gu, Bo [1 ]
Hu, Hai [1 ]
Li, Yong-Chao [1 ]
机构
[1] Beijing Univ Aeronaut & Astronaut, Dept Automat Control, Beijing 100083, Peoples R China
基金
中国国家自然科学基金;
关键词
software testing; adaptive testing; random testing; partition testing; space program; controlled Markov chain; adaptive control; software cybernetics;
D O I
10.1016/j.jss.2006.11.008
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Adaptive software testing is the counterpart of adaptive control in software testing. It means that software testing strategy should be adjusted on-line by using the testing data collected during software testing as our understanding of the software under test is improved. In this paper we propose a new strategy of adaptive software testing in the context of software cybernetics. This new strategy employs fixed-memory feedback for on-line parameter estimations and is intended to circumvent the drawbacks of the assumption that all remaining defects are equally detectable at constant rate and to reduce the underlying computational complexity of on-line parameter estimations. A comprehensive case study with the Space program demonstrates that the new adaptive testing strategy can really work in practice and may noticeably outperform the purely-random testing strategy and the random-partition testing strategy (or collectively, the random testing strategies) in terms of the number of tests used to detect and remove a given number of defects in a single process of software testing and the corresponding standard deviation. In addition, the case study shows that the input domain of the software under test should be partitioned non-evenly for the adaptive testing strategy. (C) 2006 Elsevier Inc. All rights reserved.
引用
收藏
页码:1328 / 1348
页数:21
相关论文
共 31 条
[1]   Optimal software testing in the setting of controlled Markov chains [J].
Cai, KY ;
Li, YC ;
Ning, WY .
EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2005, 162 (02) :552-579
[2]  
Cai KY, 2004, ELEVENTH ANNUAL INTERNATIONAL WORKSHOP ON SOFTWARE TECHNOLOGY AND ENGINEERING PRACTICE, PROCEEDINGS, P77
[3]   Optimal software testing and adaptive software testing in the context of software cybernetics [J].
Cai, KY .
INFORMATION AND SOFTWARE TECHNOLOGY, 2002, 44 (14) :841-855
[4]   Towards a conceptual framework of software run reliability modeling [J].
Cai, KY .
INFORMATION SCIENCES, 2000, 126 (1-4) :137-163
[5]  
CAI KY, 1998, KLUW INT SER SOFTW E, P1
[6]  
Campbell C., 2005, MSRTR200559
[7]   A formal model of the software test process [J].
Cangussu, JW ;
DeCarlo, RA ;
Mathur, AP .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (08) :782-796
[8]  
CANGUSSU JW, 2001, P 12 INT S SOFTW REL
[9]   On the expected number of failures detected by subdomain testing and random testing [J].
Chen, TY ;
Yu, YT .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (02) :109-119
[10]   Proportional sampling strategy: a compendium and some insights [J].
Chen, TY ;
Tse, TH ;
Yu, YT .
JOURNAL OF SYSTEMS AND SOFTWARE, 2001, 58 (01) :65-81