DocumentCode :
525642
Title :
A random walk based algorithm for structural test case generation
Author :
Xuan, Jifeng ; Jiang, He ; Ren, Zhilei ; Hu, Yan ; Luo, Zhongxuan
Author_Institution :
Sch. of Math. Sci., Dalian Univ. of Technol., Dalian, China
fYear :
2010
fDate :
23-25 June 2010
Firstpage :
583
Lastpage :
588
Abstract :
Structural testing is a significant and expensive process in software development. By converting test data generation into an optimization problem, search-based software testing is one of the key technologies of automated test case generation. Motivated by the success of random walk in solving the satisfiability problem (SAT), we proposed a random walk based algorithm (WalkTest) to solve structural test case generation problem. WalkTest provides a framework, which iteratively calls random walk operator to search the optimal solutions. In order to improve search efficiency, we sorted the test goals with the costs of solutions completely instead of traditional dependence analysis from control flow graph. Experimental results on the condition-decision coverage demonstrated that WalkTest achieves better performance than existing algorithms (random test and tabu search) in terms of running time and coverage rate.
Keywords :
automatic test software; computability; flow graphs; program testing; search problems; WalkTest; automated test case generation; control flow graph; dependence analysis; optimization problem; random walk based algorithm; satisfiability problem; search-based software testing; software development process; structural test case generation; Automatic testing; Flow graphs; Helium; Iterative algorithms; Programming; Reflective binary codes; Software algorithms; Software prototyping; Software testing; Space technology; automatic test generation; condition-decision coverage; random walk; structural testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering and Data Mining (SEDM), 2010 2nd International Conference on
Conference_Location :
Chengdu
Print_ISBN :
978-1-4244-7324-3
Electronic_ISBN :
978-89-88678-22-0
Type :
conf
Filename :
5542856
Link To Document :
بازگشت