Previous Issues
Volume :35 Issue : 1 2008
Add To Cart
Download
Testing object-oriented framework hook methods
Auther : JEHAD AL DALLAL
Department of Information Sciences, Kuwait University, P.O. Box 5969, Safat 13060, Kuwait. Email:jehad@cfw.kuniv.edu
ABSTRACT
An application framework provides a reusable design and implementation for a family of software systems. The framework itself is not complete and users of the framework are expected to complete or extend the framework to build their particular instantiations. Places where users can add their own classes are called hooks. Hook descriptions specify how to build the methods that use the framework. These methods are called hook methods. When testing the framework, it is important to verify that the hook methods are specified correctly in the hook description. Otherwise, the generated implementations of the hook methods will not function properly. This paper introduces a technique to build a test suite for the hook methods. In addition, the paper introduces a tool that automates the testing process. The tool is applied to test several hook methods of a Client-Server Framework.
Keywords: hooks; method testing; object-oriented framework; object-oriented testing.