Title :
Measuring the effectiveness of method test sequences derived from sequencing constraints
Author :
Daniels, F.J. ; Tai, K.-C.
Author_Institution :
Bell Labs., USA
Abstract :
Intra-class testing refers to the testing of the interaction among methods and data structures encapsulated within a single class. Our approach to intra-class testing is to execute sequences of instance methods that are derived from sequencing constraints and evaluate their results for correctness. These constraints impose restrictions on method behaviors and can be derived from a formal or informal specification of a class. We present an empirical evaluation of different method sequence generation approaches, and analyze their effectiveness in detecting software faults. In addition, we define a number of coverage criteria based on method sequencing constraints for a class and examine the differences between them
Keywords :
data structures; formal specification; object-oriented programming; program testing; program verification; coverage criteria; data structures; formal specification; informal specification; instance methods; intra-class testing; method behaviors; method sequence generation approaches; method sequencing constraints; method test sequences; sequencing constraints; software fault detection; Automatic testing; Data structures; Fault detection; Object detection; Object oriented modeling;
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 1999. TOOLS 30 Proceedings
Conference_Location :
Santa Barbara, CA
Print_ISBN :
0-7695-0278-4
DOI :
10.1109/TOOLS.1999.787537