J. Al Dallal and P. Sorenson (Canada)
hooks, object-oriented framework, framework interface classes (FICs), specification-based testing,statecharts, test case generation.
An application framework provides a reusable design and implementation for a family of software systems. Application developers may extend the framework to build their particular applications using hooks. Hooks are the places identified to show how to use and customize the framework. Hooks define the Framework Interface Classes (FICs) and their possible specifications, which helps in building reusable test cases for the implementations of these classes. Based on specific requirements of an application, an application developer may choose not to implement all of the specifications of the FICs, which can then affect the reusability of the already generated test cases. This paper introduces a novel technique called all paths-state to generate test cases from UML statecharts of the FICs. The technique solves the problem caused by not fully implemented FICs specifications and, therefore, it increases the reusability of the test cases. The technique is experimentally evaluated. The empirical evaluation shows that all paths-state technique produces test cases with a high degree of coverage for the specifications of the implemented FICs comparing to test cases generated using round-trip path and all-transition techniques.
Important Links:
Go Back