DocumentCode :
1796546
Title :
Test image generation using segmental symbolic evaluation for unit testing
Author :
Jameel, Tahir ; Mengxiang Lin ; He Li ; Xiaomei Hou
Author_Institution :
State key Lab. of Software Dev. Environ., Beihang Univ., Beijing, China
fYear :
2014
fDate :
June 30 2014-July 2 2014
Firstpage :
1
Lastpage :
6
Abstract :
This paper presents a novel technique to generate test images using segmental symbolic evaluation for testing of image processing applications. Images are multidimensional and diverse in nature, which leads to different challenges for the testing process. A technique is required to generate test images capable of finding program paths derived by image pixels. The proposed technique is based on symbolic execution which is extensively used for test data generation in recent years. In image processing applications, pixel operations such as averaging, convolution etc. are applied on a segment of input image pixels called window for a single iteration and repeated for the entire image. Our key idea is to imitate operations on pixel window using symbolic values rather than concrete ones to generate path constraints in the program under test. The path constraints generated for different paths are solved for concrete values using our simple SAT solver and the solutions are capable to guide program execution to the specific paths. The solutions of path constraints are used to generate synthetic test images for each identified path and the paths constraints which are not solvable for concrete pixel values are reported as infeasible paths. We have developed a tool IMSUITthat takes an image processing function as input and executes the program symbolically for the given pixels window to generate test images. Effectiveness of IMSUIT is tested on different modules of an optical character recognition system and the result shows that it can successfully create test images for each path of the program under test and capable of identifying infeasible paths.
Keywords :
computability; optical character recognition; program testing; IMSUIT tool; concrete pixel values; image processing applications; input image pixels; optical character recognition system; path constraints; pixel window; segmental symbolic evaluation; simple SAT solver; single iteration; software testing; symbolic values; test image generation; unit testing; Concrete; Equations; Image processing; Optical character recognition software; Semantics; Testing; symbolic execution; testing image processing; unit testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), 2014 15th IEEE/ACIS International Conference on
Conference_Location :
Las Vegas, NV
Type :
conf
DOI :
10.1109/SNPD.2014.6888718
Filename :
6888718
Link To Document :
بازگشت