International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 65 - Number 16 |
Year of Publication: 2013 |
Authors: Noopur Goel, A. K. Tripathi, Manjari Gupta |
10.5120/11005-6299 |
Noopur Goel, A. K. Tripathi, Manjari Gupta . Hook_Test: An Aid to the Hook-Driven Test-First Development of Framework based Application. International Journal of Computer Applications. 65, 16 ( March 2013), 1-9. DOI=10.5120/11005-6299
Enhanced quality with reduced cost and reduced time-to-market is the primary goal of any software industry. Researchers and practitioners are trying to aspire it with many techniques. Object-oriented framework is the promising technology to promote reuse, thus realizing desired goal. Inherently complex design and large size of a framework make it difficult to understand the framework, thus inhibit the purpose of reuse of framework. Conventionally, test is performed after the implementation phase of the waterfall model and any fault detection at this stage is a very costly affair. In this paper, we are introducing Hook_Test document to assist in test-first development approach of instantiation of framework known as Hook-Driven Test-First Development (HDTFD) of framework based application. Hook_Test guides the user of the framework to generate hook method specification based test cases for different types of hooks. These test cases can be further customized during the framework instantiation according to the user specific instantiation of the framework. Besides many advantages, the proposed approach for instantiation process of the framework is very simple and easy to understand. Hook_Test description and HDTFD approach are our contributions in this paper.