DocumentCode :
3488591
Title :
Testing C++ classes
Author :
Bashir, Imran ; Goel, Amrit L.
Author_Institution :
LCI Int., McLean, VA, USA
fYear :
1994
fDate :
21-22 Dec 1994
Firstpage :
43
Lastpage :
48
Abstract :
We present a semi-exhaustive approach to testing of a C++ class as a unit of testing. The general approach is outlined by an algorithm. This approach determines the correctness of a class by considering the manipulation of each of its data members by all possible sequences of member functions of the class. Member functions manipulating a data member are divided into different categories and each category is tested individually. A preliminary analysis of the algorithm determines the maximum number of test cases required for a given class
Keywords :
C language; abstract data types; data structures; object-oriented languages; object-oriented programming; program testing; C++ class testing; algorithm; class correctness; data member manipulation; maximum test case number; member function sequences; semi-exhaustive approach; Algorithm design and analysis; Application software; Contacts; Object oriented programming; Software algorithms; Software design; Software reusability; Software systems; Software testing; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Reliability and Quality Assurance, 1994. Conference Proceedings., First International Conference on
Conference_Location :
New Delhi
Print_ISBN :
0-7803-2608-3
Type :
conf
DOI :
10.1109/STRQA.1994.526382
Filename :
526382
Link To Document :
بازگشت