Deriving test cases using class vectors

被引:3
作者
Leung, KRPH [1 ]
Wong, W [1 ]
机构
[1] Hong Kong Inst Vocat Educ, Dept Comp & Math, Hong Kong, Hong Kong, Peoples R China
来源
SEVENTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS | 2000年
关键词
D O I
10.1109/APSEC.2000.896693
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Classification tree is one of the methods of generating test cases from specification. It partitions the input domain into a number of classifications. A classification tree is created to depict the relationship among the classifications. Test cases are then derived from this tree. However classification trees have a number of shortcomings. The expressive power is limited by the tree structure. It also rely much on human decision in selecting test cases. This paper introduces an alternative approach to the generation of test cases. Ne define classifications and classes formally. Then, we analyze the relations among classes and classifications and express these relations in vectors (class vectors). Test cases are then derived from the Cartesian product of these partitions of vectors. The expressive power of vectors is better than tree structure and hence can be applied in some systems which test cases are complicated Furthermore, more information obtained in the specifications is utilized. Hence the amount of human decision is minimized.
引用
收藏
页码:146 / 153
页数:8
相关论文
共 7 条
[1]  
Chen T. Y., 1996, Proceedings. 1996 Asia-Pacific Software Engineering Conference, P83, DOI 10.1109/APSEC.1996.566743
[2]  
Chen T. Y., 1996, Proceedings 1996 Australian Software Engineering Conference, P93, DOI 10.1109/ASWEC.1996.534127
[3]   Construction of classification trees via the classification-hierarchy table [J].
Chen, TY ;
Poon, PL .
INFORMATION AND SOFTWARE TECHNOLOGY, 1997, 39 (13) :889-896
[4]  
CHEN TY, 1999, P 9 INT WORKSH SOFTW, P105
[5]  
Grochtmann M., 1993, Software Testing, Verification and Reliability, V3, P63, DOI 10.1002/stvr.4370030203
[6]  
Grochtmann M, 1995, P 8 INT SOFTW QUAL W, P1
[7]  
KARL RPH, 2000, P 1 AS PAC C QUAL SO