Revisiting strategies for ordering class integration testing in the presence of dependency cycles

被引:17
作者
Briand, LC [1 ]
Labiche, Y [1 ]
Wang, YH [1 ]
机构
[1] Carleton Univ, Ottawa, ON K1S 5B6, Canada
来源
12TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS | 2001年
关键词
D O I
10.1109/ISSRE.2001.989482
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The issue of ordering class integration in the context of integration testing has been discussed by a number of researchers. More specifically, strategies have been proposed to generate a test order while minimizing stubbing. Recent papers have addressed the problem of deriving an integration order in the presence of dependency cycles in the class diagram. Such dependencies represent a practical problem as they make any topological ordering of classes impossible. This paper proposes a strategy that integrates two existing methods aimed at "breaking" cycles so as to allow a topological order of classes. The first one was proposed by Tai et al and is based on assigning a higher-level order according to aggregation and inheritance relationships and a lower-level order according to associations. The second one was proposed by Le Traon et al and is based on identifying strongly connected components in the dependency graph. Among other things, the former approach may result into unnecessary stubbing whereas the latter may lead to breaking cycles by "removing" aggregation or inheritance dependencies, thus leading to complex stubbing. We propose here an approach that combines some of the principles of both approaches and addresses some of their shortcomings. All approaches (principles, benefits, drawbacks) are thoroughly compared by the means of a case study, based on a real system written in Java.
引用
收藏
页码:287 / 296
页数:10
相关论文
共 12 条
[1]  
[Anonymous], P ICSE
[2]  
Beizer B., 2003, Software Testing Techniques
[3]  
BJORK RC, 1997, EXAMPLE OBJECT ORIEN
[4]  
BRIAND LC, 2001, SCE0102 CARL U
[5]  
Gamma E., 1995, Design Patterns: Elements of Reusable Object-Oriented Software, V206, P395, DOI 10.1093/carcin/bgs084
[6]  
Jungnickel D., 1999, GRAPHS NETWORKS ALGO
[7]  
KUNG DC, 1995, J OBJECT-ORIENT PROG, V8, P51
[8]  
Labiche Y., 2000, Proceedings of the 2000 International Conference on Software Engineering. ICSE 2000 the New Millennium, P136, DOI 10.1109/ICSE.2000.870405
[9]   Efficient object-oriented integration and regression testing [J].
Le Traon, Y ;
Jéron, T ;
Jézéquel, JM ;
Morel, P .
IEEE TRANSACTIONS ON RELIABILITY, 2000, 49 (01) :12-25
[10]  
Rumbaugh J., 1991, Object -Oriented Modeling and Design