Testing object-oriented programs: from formal specification to test scenario generation

被引:1
作者
Chang, KH
Liao, SS
Seidman, SB
Chapman, R
机构
[1] Auburn Univ, Dept Comp Sci & Engn, Auburn, AL 36849 USA
[2] Colorado State Univ, Dept Comp Sci, Ft Collins, CO 80523 USA
关键词
formal methods; software testing; object-oriented programs; software process models; software validation and verification;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
New problems associated with the testing and maintenance of object-oriented programs (OOPs) have been introduced with the dramatically increasing use of OOPs over the past decade. Testing OOPs beyond the class level has been rarely discussed. This paper presents an approach performing high level testing for OOPs based on formal specifications and usage profiles. The behavior of a software system is specified in an object-oriented formal specification. A state model provides a complementary representation of the dynamic behavior. In the model, a state represents the cumulative results of the system behavior. Probability distributions are used to derive the anticipated operation sequences of a program from the state model. An enhanced state transition diagram (ESTD) is used to describe the state model, which incorporates hierarchy, usage and parameter information. This paper describes the construction of state transition diagrams (STDs) based on the formal specification, and the derivation of test scenarios from the ESTD. (C) 1998 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:141 / 151
页数:11
相关论文
共 24 条
[1]  
[Anonymous], P ICSE
[2]  
CARRINGTON D, 1994, WORKSH COMP SER Z US, P51
[3]  
CHANG KH, 1993, P 5 INT C SOFTW ENG, P437
[4]  
CHANG KH, 1996, J SOFTWARE ENG KNOWL, V6
[5]  
CHEN C, 1996, THESIS AUBURN U
[6]   ENGINEERING SOFTWARE UNDER STATISTICAL QUALITY-CONTROL [J].
COBB, RH ;
MILLS, HD .
IEEE SOFTWARE, 1990, 7 (06) :44-54
[7]  
DOONG R, 1993, PUCS10493 POL U DEP
[8]  
DUKE R, 1991, 911 U QUEENSL DEP CO
[9]  
Dyer M., 1992, CLEANROOM APPROACH Q
[10]  
KUNG D, 1994, P INT COMP SOFTW APP, P222, DOI 10.1109/CMPSAC.1994.342801