摘要:
In the OO paradigm, it is necessary and important to test all the method interactions within a class. But it is expensive to test all possible method sequence combinations. The MtSS of a class specifies the causal order in which the mothods can be invoked for the correct behavior of instances of the class. In this papcr, a test case generation method using MtSS is proposed. To generate less number of test cases that are effective in identifying most of the bugs in a programs, partition-based strategy for test case generation is presented and some partition criteria is discussed as well. Besides. how to generate negative test cases from MtSS is described for checking robustness of classes.
展开