Search based software testing of object-oriented containers

被引:55
作者
Arcuri, Andrea [1 ]
Yao, Xin [1 ]
机构
[1] Univ Birmingham, Sch Comp Sci, CERCIA, Birmingham B15 2TT, W Midlands, England
基金
英国工程与自然科学研究理事会;
关键词
software testing; object-oriented software; containers; search algorithms; nature inspired algorithms; search based software engineering; testability transformations; white box testing;
D O I
10.1016/j.ins.2007.11.024
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Automatic software testing tools are still far from ideal for real world object-oriented (OO) software. The use of nature inspired search algorithms for this problem has been investigated recently. Testing complex data structures (e.g., containers) is very challenging since testing software with simple states is already hard. Because containers are used in almost every type of software, their reliability is of utmost importance. Hence, this paper focuses on the difficulties of testing container classes with nature inspired search algorithms. We will first describe how input data can be automatically generated for testing Java containers. Input space reductions and a novel testability transformation are presented to aid the search algorithms. Different search algorithms are then considered and studied in order to understand when and why a search algorithm is effective for a testing problem. In our experiments, these nature inspired search algorithms seem to give better results than the traditional techniques described in literature. Besides, the problem of minimising the length of the test sequences is also addressed. Finally, some open research questions are given. (c) 2007 Elsevier Inc. All rights reserved.
引用
收藏
页码:3075 / 3095
页数:21
相关论文
共 62 条
[1]  
[Anonymous], 2002, RTI PROJECT
[2]  
[Anonymous], IEEE INT WORKSH PROG
[3]  
[Anonymous], 1989, EVOLUTION SEARCH OPT
[4]   A Memetic Algorithm for test data generation of object-oriented software [J].
Arcuri, Andrea ;
Yao, Xin .
2007 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-10, PROCEEDINGS, 2007, :2048-2055
[5]   On test data generation of object-oriented software [J].
Arcuri, Andrea ;
Yao, Xin .
TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, :72-+
[6]  
Baresel A, 2003, LECT NOTES COMPUT SC, V2724, P2442
[7]  
Baresel A., 2004, P INT S SOFTW TEST A, P43
[8]  
BARESEL A, 2002, GECCO 2002, P1329
[9]  
Barr R. S., 1995, Journal of Heuristics, V1, P9, DOI 10.1007/BF02430363
[10]  
Beizer B., 2003, Software Testing Techniques