DocumentCode :
1851203
Title :
Reggae: Automated Test Generation for Programs Using Complex Regular Expressions
Author :
Li, Nuo ; Xie, Tao ; Tillmann, Nikolai ; De Halleux, Jonathan ; Schulte, Wolfram
Author_Institution :
North Carolina State Univ., Raleigh, NC, USA
fYear :
2009
fDate :
16-20 Nov. 2009
Firstpage :
515
Lastpage :
519
Abstract :
Test coverage such as branch coverage is commonly measured to assess the sufficiency of test inputs. To reduce tedious manual efforts in generating high-covering test inputs, various automated techniques have been proposed. Some recent effective techniques include Dynamic Symbolic Execution (DSE) based on path exploration. However, these existing DSE techniques cannot generate high-covering test inputs for programs using complex regular expressions due to large exploration space; these complex regular expressions are commonly used for input validation and information extraction. To address this issue, we propose an approach, named Reggae, to reduce the exploration space of DSE in test generation. In our evaluation, we apply Reggae on various input-validation programs that use complex regular expressions. Empirical results show that Reggae helps a test-generation tool generate test inputs to achieve 79% branch coverage of validators, improved from 29% achieved without the help of Reggae.
Keywords :
automatic test software; program testing; program verification; Reggae; automated test generation; branch coverage; complex regular expressions; dynamic symbolic execution; exploration space; information extraction; input-validation programs; path exploration; Automatic testing; Engines; Impedance matching; Logic testing; Manuals; Software engineering; Software measurement; Software testing; Space exploration; USA Councils; dynamic symbolic execution; string generation; test generation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering, 2009. ASE '09. 24th IEEE/ACM International Conference on
Conference_Location :
Auckland
ISSN :
1938-4300
Print_ISBN :
978-1-4244-5259-0
Electronic_ISBN :
1938-4300
Type :
conf
DOI :
10.1109/ASE.2009.67
Filename :
5431742
Link To Document :
بازگشت