DocumentCode :
2490057
Title :
A test class framework for generating test cases from Z specifications
Author :
Huaikou, MIAO ; Ling, Liu
Author_Institution :
Sch. of Comput. Eng. & Sci., Shanghai Univ., China
fYear :
2000
fDate :
2000
Firstpage :
164
Lastpage :
171
Abstract :
This paper introduces test classes and a test class framework for generating test cases from Z specifications. We define a test class using object-oriented concept in test framework instead of Phil Stock´s test template. Our test framework for Z specifications uniformly defines the test data and oracles in a test class that also contains the information of before states and after states for an operation. Thus, the derivation and construction of test case and test sequence information can be unified in a test framework. We present an example to demonstrate how to generate test cases using the test framework. To support the framework, we have designed and implemented a test case generation system, TCGS, and its functions are briefly described in the paper
Keywords :
formal specification; program testing; TCGS; Z specifications; object-oriented concept; oracles; test case generation system; test class framework; test data; test framework; Computer aided software engineering; Data mining; Formal specifications; Life testing; Materials testing; Object oriented modeling; Software design; Software engineering; Software testing; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Engineering of Complex Computer Systems, 2000. ICECCS 2000. Proceedings. Sixth IEEE International Conference on
Conference_Location :
Tokyo
Print_ISBN :
0-7695-0583-X
Type :
conf
DOI :
10.1109/ICECCS.2000.873941
Filename :
873941
Link To Document :
بازگشت