Back to Search Start Over

Using Coupling-Based Weights for the Class Integration and Test Order Problem.

Authors :
Aynur Abdurazik
Jeff Offutt
Source :
Computer Journal; Aug2009, Vol. 52 Issue 5, p557-557, 1p
Publication Year :
2009

Abstract

During component-based and object-oriented software development, software classes exhibit relationships that complicate integration, including method calls, inheritance and aggregation. Classes are integrated and tested in specific orders, where each class is added and tested one by one to see if it integrates successfully. A difficulty arises when cyclic dependencies exist—the functionality that is used by the first class to be tested must be mimicked by creating ‘stubs’ (sometimes called ‘mock objects’), an expensive and error-prone operation. This problem is generally called the class integration and test order (CITO) problem, and solutions must fully be automated for integration and testing to proceed smoothly and efficiently. This paper describes new techniques and algorithms to solve the CITO problem. New results include improved edge weights to more precisely model the cost of stubbing, and the use of node weights, which allows more information to be used. These weights are derived from quantitative measures of couplings between the integrated and the stubbed classes. Also, a new algorithm for computing the integration and test orders is presented. The technique is compared with an existing approach and found to be cheaper, get the same results when using edge weights exclusively, and yield better results when using node weights. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00104620
Volume :
52
Issue :
5
Database :
Complementary Index
Journal :
Computer Journal
Publication Type :
Academic Journal
Accession number :
43425107
Full Text :
https://doi.org/10.1093/comjnl/bxm054