DocumentCode
3209280
Title
A framework for specification-based class testing
Author
Liu, Ling ; Miao, Huaikou ; Zhan, Xuede
Author_Institution
Sch. of Comput. Eng. & Sci., Shanghai Univ., China
fYear
2002
fDate
2-4 Dec. 2002
Firstpage
153
Lastpage
162
Abstract
Class testing is the base of object-oriented software testing. It involves three aspects: testing each method, testing the relations among class methods and testing the inheriting relation between class and subclass. Rather than concerning the whole class testing process, most specification-based class testing focuses on the methods of generating test cases from the class specification. As a result, the class testing process and test cases cannot be unified and managed in a consistent and convenient way. This paper introduces a test class framework (TCF) that is used to structure the test cases and test deriving process of the class under testing. This framework clearly denotes the process of deriving test cases and test suites from a class specification. It facilitates the construction and management of test cases. Object-Z notation is used to express the framework and class specification.
Keywords
finite state machines; formal specification; object-oriented programming; program testing; specification languages; Object-Z; class methods; class specification; finite state machine; object-oriented software testing; specification-based class testing; state transition tree; test case generation; test class framework; Automata; Computer bugs; Costs; Formal specifications; Object oriented modeling; Partitioning algorithms; Programming; Software maintenance; Software testing; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Engineering of Complex Computer Systems, 2002. Proceedings. Eighth IEEE International Conference on
Conference_Location
Greenbelt, MD, USA
Print_ISBN
0-7695-1757-9
Type
conf
DOI
10.1109/ICECCS.2002.1181508
Filename
1181508
Link To Document