loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Seventh Asia-Pacific Software Engineering Conference (APSEC'00)
Deriving test cases using class vectors
Singapore
December 05-December 08
ISBN: 0-7695-0915-0
K.R.P.H. Leung, Dept. of Comput. & Math., Hong Kong Inst. of Vocational Educ., China
W. Wong, Dept. of Comput. & Math., Hong Kong Inst. of Vocational Educ., China
A classification trees is one method of generating test cases from specifications. 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. Their expressive power is limited by the tree structure. They also rely heavily on human decisions in selecting test cases. This paper introduces an alternative approach to the generation of test cases. We first define classifications and classes formally. Then, we analyze the relations among classes and classifications and express these relations as class vectors. Test cases are then derived from the Cartesian product of vector partitions. The expressive power of vectors is better than that of a tree structure, and hence can be applied in some systems where test cases are complicated. Furthermore, more of the information obtained in the specifications is utilized. Hence, the amount of human decision-making is minimized.
Index Terms:
formal specification; program testing; vectors; pattern classification; trees (mathematics); software test case derivation; class vectors; classification trees; formal specifications; expressive power; human decision-making; Cartesian product; vector partitions; tree structure
Citation:
K.R.P.H. Leung, W. Wong, "Deriving test cases using class vectors," apsec, pp.146, Seventh Asia-Pacific Software Engineering Conference (APSEC'00), 2000
Usage of this product signifies your acceptance of the Terms of Use.