Efficient object-oriented integration and regression testing

被引:74
作者
Le Traon, Y [1 ]
Jéron, T [1 ]
Jézéquel, JM [1 ]
Morel, P [1 ]
机构
[1] Inst Rech Informat & Syst Aleatoires, F-35042 Rennes, France
关键词
graph algorithm; integration testing; object-oriented modeling; regression testing; software testing;
D O I
10.1109/24.855533
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents a model, a strategy, and a methodology for planning integration and regression testing from an object-oriented model, It shows how to produce a model of structural system test dependencies which evolves with the refinement process of the object-oriented design. The model (test dependency graph! serves as a basis for ordering classes and methods to be tested for regression and integration purposes (minimization of test stubs). The mapping from Unified Modeling Language to the defined model is detailed as well as the test methodology. While the complexity of optimal stub minimization is exponential with the size of the model, an algorithm is given that: computes a strategy for integration testing with a quadratic complexity in the worst case, provides an efficient testing order for minimizing the number of stubs. Various integration strategies are compared with the optimized algorithm (a real-world case study illustrates this comparison), The results of the experiment seem to give nearly optimal stubs with a low cost despite the exponential complexity of getting optimal stubs. As being a part of a design-for-testability approach, the presented methodology also leads to the early repartition of testing resources during system integration for reducing integration duration.
引用
收藏
页码:12 / 25
页数:14
相关论文
共 15 条
[1]  
[Anonymous], P ICSE
[2]  
Beizer B., 2003, Software Testing Techniques
[3]   DESIGN FOR TESTABILITY IN OBJECT-ORIENTED SYSTEMS [J].
BINDER, RV .
COMMUNICATIONS OF THE ACM, 1994, 37 (09) :87-101
[4]  
BINDER RV, 1996, J SOFTWARE TESTING V, V6, P125
[5]  
BOURDONCLE F, 1993, LECT NOTES COMPUTER, V735, P128
[6]  
JEZEQUEL J, 1996, OBJECT ORIENTED SOFT
[7]   OBJECT-ORIENTED INTEGRATION TESTING [J].
JORGENSEN, PC ;
ERICKSON, C .
COMMUNICATIONS OF THE ACM, 1994, 37 (09) :30-38
[8]  
KUNG DC, 1906, J SYSTEMS SOFTWARE, V32
[9]   Self-testable components:: from pragmatic tests to design-for-testability methodology [J].
Le Traon, Y ;
Deveaux, D ;
Jézéquel, JM .
TOOLS 29: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS, PROCEEDINGS, 1999, 29 :96-107
[10]   INTEGRATED OBJECT-ORIENTED TESTING AND DEVELOPMENT PROCESSES [J].
MCGREGOR, JD ;
KORSON, TD .
COMMUNICATIONS OF THE ACM, 1994, 37 (09) :59-77