Title :
Towards a statistical approach to testing object-oriented programs
Author :
Thevenod-Fosse, P. ; Waeselynck, H.
Author_Institution :
Lab. d´Autom. et d´Anal. des Syst., CNRS, Toulouse, France
Abstract :
Statistical testing is based on a probabilistic generation of test data: structural or functional criteria serve as guides for defining an input profile and a test size. Previous work has confirmed the high fault revealing power of this approach for procedural programs; it is now investigated for object-oriented programs. A method for incremental statistical testing is defined at the cluster level, based on the class inheritance hierarchy. Starting from the root class of the program, descendant class(es) are gradually added and test data are designed for (i) structural testing of newly defined features and, (ii) regression testing of inherited features. The feasibility of the method is exemplified by a small case study (a Travel Agency) implemented in Eiffel.
Keywords :
inheritance; object-oriented programming; program testing; statistical analysis; Eiffel; class inheritance hierarchy; cluster level; descendant class; fault revealing power; incremental statistical testing; object-oriented programs; probabilistic generation; regression testing; statistical approach; structural testing; test data; Automatic test pattern generation; Automatic testing; Electronic mail; Flow graphs; Object oriented modeling; Software design; Software systems; Software testing; Statistical analysis; Test pattern generators;
Conference_Titel :
Fault-Tolerant Computing, 1997. FTCS-27. Digest of Papers., Twenty-Seventh Annual International Symposium on
Conference_Location :
Seattle, WA, USA
Print_ISBN :
0-8186-7831-3
DOI :
10.1109/FTCS.1997.614082