A Path-Oriented Test Data Generation Approach for Automatic Software Testing

被引:4
作者
Xu, Xiaofeng [1 ]
Chen, Yan [2 ]
Li, Xiaochao [3 ]
Guo, Donghui [3 ]
机构
[1] Xiamen Univ, Dept Phys, Xiamen, Fujian, Peoples R China
[2] Xiamen Univ, Dept Commun Engn, Xiamen, Fujian, Peoples R China
[3] Xiamen Univ, Dept Elect Engn, Xiamen, Fujian, Peoples R China
来源
2008 2ND INTERNATIONAL CONFERENCE ON ANTI-COUNTERFEITING, SECURITY AND IDENTIFICATION | 2008年
关键词
Automatic Software Testing; Clonal Selection (CS); Path-Oriented Test Data Generation; Affinity function;
D O I
10.1109/IWASID.2008.4688344
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The Clonal Selection (CS) Algorithm is an optimization algorithm based upon the clonal selection principle in the biological immune system. This paper presents a novel approach that uses CS algorithm for path-oriented test data generation. The approach takes a selected path as a target and executes sequences of operators iteratively for test case to generate. An affinity function which is made up of a similarity and penalty value is developed to guide the test generator to make successive modifications of the test data, so that test data can ever closer to satisfy the requirement. The comparison results show that this approach is more efficient than those based on other heuristic algorithms in finding solutions.
引用
收藏
页码:63 / +
页数:3
相关论文
共 11 条
[1]  
ALBERTS DS, 1976, AFIPS C P, V45, P433
[2]   Learning and optimization using the clonal selection principle [J].
de Castro, LN ;
Von Zuben, FJ .
IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2002, 6 (03) :239-251
[3]  
EUGENIA D, 2003, 18 IEEE INT C AUT SO, P310
[4]  
Ferguson R., 1996, ACM Transactions on Software Engineering and Methodology, V5, P63, DOI 10.1145/226155.226158
[5]  
GAO HC, 2005, P INT C NEUR NETW BR, V1, P111
[6]   AUTOMATED SOFTWARE TEST DATA GENERATION [J].
KOREL, B .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (08) :870-879
[7]   Using genetic algorithms for test case generation in path testing [J].
Lin, JC ;
Yeh, PL .
PROCEEDINGS OF THE NINTH ASIAN TEST SYMPOSIUM (ATS 2000), 2000, :241-246
[8]   Generating software test data by evolution [J].
Michael, CC ;
McGraw, G ;
Schatz, MA .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (12) :1085-1110
[9]  
PEI M, 1994, AUTOMATED SOFTWARE T
[10]   An automated framework for structural test-data generation [J].
Tracey, N ;
Clark, J ;
Mander, K ;
McDermid, J .
13TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 1998, :285-288