An investigation of graph-based class integration test order strategies

被引:61
作者
Briand, LC [1 ]
Labiche, Y [1 ]
Wang, YH [1 ]
机构
[1] Carleton Univ, Dept Syst & Comp Engn, Software Qual Engn Lab, Ottawa, ON K1S 5B6, Canada
关键词
integration testing; integration order; object-oriented software engineering; experimentation;
D O I
10.1109/TSE.2003.1214324
中图分类号
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. Three main approaches, aimed at "breaking" cycles, have been proposed. The first one was proposed by Tai and Daniels [22] 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. [16] and is based on identifying strongly connected components in the dependency graph. The third one was proposed by Briand et al. [6]; it combines some of the principles of the two previous approaches and addresses some of their shortcomings (e.g., the first approach may result into unnecessary stubbing whereas the second may lead to breaking cycles by "removing" aggregation or inheritance dependencies, thus leading to complex stubbing). This paper reviews these strategies (principles are described, advantages and drawbacks are precisely investigated) and provides both analytical and empirical comparisons based on five case studies.
引用
收藏
页码:594 / 607
页数:14
相关论文
共 25 条
  • [1] [Anonymous], 1999, TESTING OBJECT ORIEN
  • [2] [Anonymous], 2000, UNIFIED MODELING LAN, DOI DOI 10.1007/3-540-40011-7_10
  • [3] Beizer B., 2003, Software Testing Techniques
  • [4] BRIAND L, 2003, SOFTWARE ENG COMPUTA
  • [5] Revisiting strategies for ordering class integration testing in the presence of dependency cycles
    Briand, LC
    Labiche, Y
    Wang, YH
    [J]. 12TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2001, : 287 - 296
  • [6] A unified framework for coupling measurement in object-oriented systems
    Briand, LC
    Daly, JW
    Wüst, JK
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1999, 25 (01) : 91 - 121
  • [7] Devore J. L., 1999, PROBABILITY STAT ENG
  • [8] Gamma E., 1995, Design Patterns: Elements of Reusable Object-Oriented Software, V206, P395, DOI 10.1093/carcin/bgs084
  • [9] HARROL DMJ, 1992, P 14 IEEE INT C SOFT, P66
  • [10] OBJECT-ORIENTED INTEGRATION TESTING
    JORGENSEN, PC
    ERICKSON, C
    [J]. COMMUNICATIONS OF THE ACM, 1994, 37 (09) : 30 - 38