DocumentCode :
349674
Title :
The application of an algebraic design method to deal with oracle problem in object-oriented class level testing
Author :
Chen, Huo Yan
Author_Institution :
Dept. of Comput. Sci., Jinan Univ., Guangzhou, China
Volume :
1
fYear :
1999
fDate :
1999
Firstpage :
928
Abstract :
In order to ensure reliability and quality, software systems must be tested. The testing includes generating test cases, executing test cases on the program, and determining whether the results of execution conform to requirements. The last is called the oracle problem. The oracle problem is important but difficult as the program yields the results in a way which may depend on some representation choices and makes the comparison with the specified results difficult. The class level testing is considered to be basic in object-oriented software testing. Breu et al. (1998) proposed an algebraic design methodology for object-based systems. We found that this design methodology can be used to deal with the oracle problem in object-oriented class level testing. Given an algebraic specification for a class, suppose the equivalent ground terms u1~u2 are selected as a test case. Using the representation function rep() provided by Breu´s algebraic design methodology, u1 and u2 can be mapped to method sequences s1 and s2 in the implementation, respectively. Executing s1 and s2 in the implementation, we obtain accordingly two objects O1 and O 2 of the given class
Keywords :
algebraic specification; object-oriented programming; program testing; algebraic design method; algebraic specification; object-oriented class level testing; object-oriented software testing; oracle problem; software quality; software reliability; Application software; Automata; Clustering algorithms; Computer science; Design methodology; Object oriented modeling; Software algorithms; 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.814216
Filename :
814216
Link To Document :
بازگشت