Title :
Specification Based Testing of Inheritance: A Framework of a Tool
Author :
Reddy, G. Satya ; Mohanty, Hrushikesha
Author_Institution :
Univ. of Hyderabad, Hyderabad
Abstract :
Object Oriented Systems are widely designed using UML, OCL specifications and these systems are to be tested with respect to a given specification. This work addresses the problem of testing objects with inherited code. Unlike reported flattening [1] approach, our scheme strictly follows inheritance specification while testing an object. For specifying inheritance we use class diagrams annotated with OCL specifications and method call sequences; from these test cases and test oracles are derived. A tool has been developed to automate the process of testing. The tool follows non- intrusive/invasive approach of testing to insure that an error due to testing does not creep into code.
Keywords :
Unified Modeling Language; diagrams; formal specification; inheritance; object-oriented programming; program testing; OCL specification; UML specification; class diagrams; method call sequences; object oriented systems; specification based inheritance testing; test oracles; Automatic testing; Computer architecture; Creep; Information technology; Java; Object oriented databases; Software systems; Software testing; System testing; Unified modeling language;
Conference_Titel :
Information Technology, (ICIT 2007). 10th International Conference on
Conference_Location :
Orissa
Print_ISBN :
0-7695-3068-0
DOI :
10.1109/ICIT.2007.50