NobleBlocks

Research indexJournal article

Testing C++ classes

Bashir, Goel

17 Dec 2002

Abstract

No PDF here

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

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.

Identifiers

Discussion

Citations

9Cited by
13References

Topics

More

Suggest a correction or report