Interface mutation: An approach for integration testing

被引:126
作者
Delamaro, ME [1 ]
Maldonado, JC
Mathur, AP
机构
[1] Univ Estadual Maringa, Dept Informat, DIN UEM, BR-87020900 Maringa, Parana, Brazil
[2] Univ Sao Paulo, ICMC, Dept Comp Sci & Stat, BR-13560970 Sao Carlos, SP, Brazil
[3] Purdue Univ, Dept Comp Sci 1398, Software Engn Res Ctr, W Lafayette, IN 47907 USA
基金
美国国家科学基金会;
关键词
test adequacy criteria; mutation testing; mutation analysis; integration testing; testing tool;
D O I
10.1109/32.910859
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The need for test adequacy criteria is widely recognized. Several criteria have been proposed for the assessment of adequacy of tests at the unit level. However, there remains a lack of criteria for the assessment of the adequacy of tests generated during integration testing. We present a mutation-based interprocedural criterion, named Interface Mutation (IM), suitable for use during integration testing. A case study to evaluate the proposed criterion is reported. In this study, the UNIX sort utility was seeded with errors and Interface Mutation evaluated by measuring the cost of its application and its error revealing effectiveness. Alternative IM criteria using different sets of Interface Mutation operators were also evaluated. While comparing the error revealing effectiveness of these Interface Mutation-based test sets with same size randomly generated test sets we observed that in most cases Interface Mutation-based test sets are superior. The results suggest that interface Mutation offers a viable test adequacy criteria for use at the integration level.
引用
收藏
页码:228 / 247
页数:20
相关论文
共 31 条
[1]  
Agrawal Hiralal, 1989, Design Of Mutant Operators For The C Programming Language
[2]  
[Anonymous], 1994, P 1994 IEEE INT S SO
[3]  
[Anonymous], P 8 INT C FORM DESCR
[4]   2 NOTIONS OF CORRECTNESS AND THEIR RELATION TO TESTING [J].
BUDD, TA ;
ANGLUIN, D .
ACTA INFORMATICA, 1982, 18 (01) :31-45
[5]  
CHOI BJ, 1989, P 22 ANN HAW INT C S
[6]  
Delamaro M. E., 1997, THESIS U SAO PAULO S
[7]  
Delamaro M.E., 1999, 83 ICMSCUSP
[8]   Integration testing using interface mutation [J].
Delamaro, ME ;
Maldonado, JC ;
Mathur, AP .
SEVENTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 1996, :112-121
[9]  
Delamaro ME, 1996, P C PERF COMP SYST P, P79
[10]  
Demillo R.A., 1995, SERCTR165P PURD U