Title :
An automated object-oriented testing for C++ inheritance hierarchy
Author :
Wang, Chun-Chia ; Pai, Wen C. ; Shih, Timothy K.
Author_Institution :
Kuang Wu Inst. of Technol. & Commerce, Taipei, Taiwan
Abstract :
This paper proposes a concept named unit repeated inheritance (URI) in Z notation to realize object-oriented testing of an inheritance hierarchy. Based on this unit, an inheritance level technique (ILT) method as a guide to test object-oriented software errors in the inheritance hierarchy is described. In addition, two testing criteria, intralevel first and interlevel first, are formed based on the proposed mechanism. Moreover, in order to make the test process automatic, we use LEX and YACC to automatically generate a lexical analyzer and a parser to demonstrate a declaration of C++ source code. And, we also construct a windowing tool used in conjunction with a conventional C++ programming environment to assist a programmer to analyze and test his/her C++ programs
Keywords :
C language; inheritance; object-oriented programming; program testing; C++ inheritance hierarchy; C++ programs; URI; inheritance; interlevel first; intralevel first; object-oriented testing; programming environment; unit repeated inheritance; windowing tool; Acoustic testing; Automatic testing; Business; Error correction; Formal specifications; Information management; Programming environments; Programming profession; Software testing; System testing;
Conference_Titel :
Automated Software Engineering, 1997. Proceedings., 12th IEEE International Conference
Conference_Location :
Incline Village, NV
Print_ISBN :
0-8186-7961-1
DOI :
10.1109/ASE.1997.632862