Optimal software testing in the setting of controlled Markov chains

被引:20
作者
Cai, KY [1 ]
Li, YC [1 ]
Ning, WY [1 ]
机构
[1] Beijing Univ Aeronaut & Astronaut, Dept Automat Control, Beijing 100083, Peoples R China
基金
中国国家自然科学基金;
关键词
software testing; controlled Markov chain; optimal software testing; adaptive software testing; random software testing; testing resource constraint; adaptive control; software cybernetics;
D O I
10.1016/j.ejor.2002.11.002
中图分类号
C93 [管理学];
学科分类号
12 ; 1201 ; 1202 ; 120202 ;
摘要
The controlled Markov chains (CMC) approach to software testing treats software testing as a control problem, where the software under test serves as a controlled object that is modeled as controlled Markov chain, and the software testing strategy serves as the corresponding controller. In this paper we extend the CMC approach to software testing to the case that the number of tests that can be applied to the software under test is limited. The optimal testing strategy is derived if the true values of all the software parameters of concern are known a priori. An adaptive testing strategy is employed if the true values of the software parameters of concern are not known a priori and need to be estimated online during software testing by using testing data. A random testing strategy ignores all the related information (true values or estimates) of the software parameters of concern and follows a uniform probability distribution to select a possible test case. Simulation results show that the performance of an adaptive testing strategy cannot compete that of the optimal testing strategy, but should be better than that of a random testing strategy. This paper further justifies the idea of software cybernetics that is aimed to explore the interplay between software theory/engineering and control theory/engineering. (C) 2003 Published by Elsevier B.V.
引用
收藏
页码:552 / 579
页数:28
相关论文
共 23 条
[1]   THE AUTOMATIC-GENERATION OF LOAD TEST SUITES AND THE ASSESSMENT OF THE RESULTING SOFTWARE [J].
AVRITZER, A ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1995, 21 (09) :705-716
[2]  
Beizer B., 2003, Software Testing Techniques
[3]  
Binder R.V., 2000, AW OBJ TECHNOL S
[4]   Optimal test profile in the context of software cybernetics [J].
Cai, KY .
SECOND ASIA-PACIFIC CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2001, :157-166
[5]   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
[6]   Towards a conceptual framework of software run reliability modeling [J].
Cai, KY .
INFORMATION SCIENCES, 2000, 126 (1-4) :137-163
[7]  
CAI KY, 2003, ONLINE PARAMETER EST
[8]  
CAI KY, 1994, UNPUB CONCEPTS TOTAL
[9]  
CAI KY, 2003, CASE STUDY ADAPTIVE
[10]  
CAI KY, 2003, SCI CHINA F, V46