The Computer Journal Advance Access published online on November 22, 2007
The Computer Journal, doi:10.1093/comjnl/bxm093
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Test Sequence Generation For Integration Testing Of Component Software1
2 Information Technology Laboratory, National Institute of Standards and Technology, Gaithersburg, MD 20899, USA
3 Information and Software Engineering, George Mason University, Fairfax, VA 22030, USA
* Corresponding author: offutt{at}gmu.edu
Received 18 August 2006; revised 30 August 2007
Ensuring high object interoperability is a goal of integration testing for object-oriented (OO) software. When messages are sent, objects that receive them should respond as intended. Ensuring this is especially difficult when software uses components that are developed by different vendors, in different languages, and the implementation sources are not all available. A finite state machines model of inter-operating OO classes was presented in a previous paper. The previous paper presented details of the method and empirical results from an automatic tool. This paper presents additional details about the tool itself, including how test sequences are generated, how several difficult problems were solved and the introduction of new capabilities to help automate the transformation of test specifications into executable test cases. Although the test method is not 100% automated, it represents a fresh approach to automated testing. It follows accepted theoretical procedures while operating directly on OO software specifications. This yields a data flow graph and executable test cases that adequately cover the graph according to classical graph coverage criteria. The tool supports specification-based testing and helps to bridge the gap between theory and practice.
Key Words: software testing object-oriented component integration test generation
1 This paper is an extended version of Automatically Testing Interacting Software Components, published in the Workshop on Automation of Software Test (AST 2006), May 2006, Shanghai, China, pp. 57–63.