Title :
A structural testing method for C++ programs
Author :
Lee, Jen-Gaw ; Feng, Ming-Jyh ; Chung, Chyan-Goei
Author_Institution :
Inst. of Comput. Sci. & Inf. Eng., Nat. Chiao Tung Univ., Hsinchu, Taiwan
Abstract :
The paper first proposes a structural view model of C++ programs to show the relationships between the main program, functions (procedures), objects, and classes. Based on this model, a new structural testing method for C++ programs is proposed. In this method, the testing order of the components of C++ programs is defined automatically. In addition, to ensure that no extra objects are declared and no redundant member functions exist in classes, the object and class coverage criteria are proposed
Keywords :
C language; object-oriented languages; object-oriented programming; program testing; structured programming; C++ programs; class coverage criteria; classes; main program; objects; redundant member functions; structural testing method; structural view model; testing order; Automatic control; Automatic testing; Computer science; Displays; Information analysis; Message passing; Object oriented modeling; System testing;
Conference_Titel :
Computer Software and Applications Conference, 1994. COMPSAC 94. Proceedings., Eighteenth Annual International
Conference_Location :
Taipei
Print_ISBN :
0-8186-6705-2
DOI :
10.1109/CMPSAC.1994.342799