Interface mutation

被引:29
作者
Ghosh, S
Mathur, AP
机构
[1] Colorado State Univ, Dept Comp Sci, Ft Collins, CO 80523 USA
[2] Purdue Univ, Dept Comp Sci, W Lafayette, IN 47905 USA
关键词
component-based systems; distributed object systems; interface mutation; test adequacy assessment;
D O I
10.1002/stvr.239
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Applications that utilize a broker-based architecture are often composed of components that need to be tested individually and in combination. Furthermore, adequacy assessment of tests of components is useful in that it assists testers in identifying weaknesses in the tests generated so far and in offering hints on what the new tests must be. Traditional test adequacy criteria have limitations for commercial use, especially when tests for large components are to be assessed for their adequacy. This paper describes a test adequacy criterion based on interface mutation and a method, based on the criterion, to test components. This method requires the mutation of elements only from within a component's interface and not from within the code that implements the interface. The adequacy criterion based on interface mutation was evaluated empirically and compared with coverage criteria based on control flow for its relative effectiveness in revealing errors and in the cost incurred in developing test sets that satisfy the criterion. Copyright (C) 2001 John Wiley & Sons, Ltd.
引用
收藏
页码:227 / 247
页数:21
相关论文
共 11 条
[1]  
BAKER S, 1997, CORBA DISTRIBUTED OB
[2]  
Binder R. V., 1999, OBJECT TECHNOLOGY SE
[3]   The current state of CBSE [J].
Brown, AW ;
Wallnau, KC .
IEEE SOFTWARE, 1998, 15 (05) :37-+
[4]   Integration testing using interface mutation [J].
Delamaro, ME ;
Maldonado, JC ;
Mathur, AP .
SEVENTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 1996, :112-121
[5]  
DeMillo R.A., 1994, SERCTR92P PURD U
[6]   CONSTRAINT-BASED AUTOMATIC TEST DATA GENERATION [J].
DEMILLO, RA ;
OFFUTT, AJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (09) :900-910
[7]  
GHOSH S, 2000, P MUTATION 2000 OCT, P103
[8]  
GHOSH S, 2000, SERCTR180P PRUD U
[9]  
*OMG, 1995, COMM OBJ REQ BROK AR
[10]  
VOGEL A, 1998, JAVA PROGRAMMING COR