DocumentCode :
349675
Title :
On effectiveness of equivalent fundamental pairs as test cases for object-oriented software
Author :
Chen, Huo Yun
Author_Institution :
Dept. of Comput. Sci., Jinan Univ., Guangzhou, China
Volume :
1
fYear :
1999
fDate :
1999
Firstpage :
933
Abstract :
One of the means to enhance reliability and quality of software systems is testing. Object-oriented methodology makes resulting software systems more reliable, maintainable and reusable. However, it also renders the testing more complex and difficult. There are various sequences and combinations to execute the methods in a class or across different classes. This character leads us to select sequences of operations (namely ground terms), rather than individual operations, as test cases in object-oriented class level testing. The pairs of equivalent ground terms can be derived as test cases from a given algebraic specification for a class. If two ground terms are equivalent, but their implemented sequences produce observationally non-equivalent objects, then there is an error in the implementation. However, the set of all equivalent pairs is generally infinite. How do we select a finite number of them? Recently, we have proposed an approach to deal with this problem. In our approach, a fundamental pair is defined as a pair of equivalent terms produced by substituting all the variables on both sides of an axiom by normal forms. We prove that an implementation is consistent with respect to all equivalent terms if and only if it is consistent with respect to all fundamental pairs
Keywords :
algebraic specification; object-oriented programming; program testing; software quality; software reliability; algebraic specification; equivalent fundamental pairs; normal forms; object-oriented class level testing; object-oriented software; program testing; software quality; software reliability; test cases; Clustering algorithms; Computer aided software engineering; Computer science; Equations; Maintenance; Object oriented programming; Software quality; Software systems; Software testing; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Systems, Man, and Cybernetics, 1999. IEEE SMC '99 Conference Proceedings. 1999 IEEE International Conference on
Conference_Location :
Tokyo
ISSN :
1062-922X
Print_ISBN :
0-7803-5731-0
Type :
conf
DOI :
10.1109/ICSMC.1999.814217
Filename :
814217
Link To Document :
بازگشت