Testing C++ classes
Imran Bashir, Anita Goel · 2002
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.
Cited by 9 works. doi:10.1109/strqa.1994.526382
Authors
References
- Adequate testing and object-oriented programming
- Reusability: The Case for Object-Oriented Design
- Effective C++: 55 Specific Ways to Improve Your Programs and Designs
- Testing object-oriented systems
- Understanding object-oriented: a unifying paradigm
- Incremental testing of object-oriented class structures
- Incremental Testing Of Object-Oriented Class Structures†
- Case studies on testing object-oriented programs
- A framework for testing object-oriented programs
- Object-oriented programming-the problems of validation