DocumentCode
2087391
Title
Combining Static Analysis and Constraint Solving for Automatic Test Case Generation
Author
Vorobyov, Kostyantyn ; Krishnan, Padmanabhan
Author_Institution
Centre for Software Assurance, Bond Univ., Gold Coast, QLD, Australia
fYear
2012
fDate
17-21 April 2012
Firstpage
915
Lastpage
920
Abstract
We present an approach in automatic test generation that combines features of static analysis and bounded symbolic computation that is capable of producing a test suite that can be used to declare a program under test safe within bounds. We first use the results produced by static analysis which will identify a list of potential errors in the program. We restrict our search to the locations where errors can exist and aim to find exactly one test case per real bug. We have built a prototype tool (called Batg) that implements our approach. We report the results of running it on a number of benchmarks from well known benchmarking suites. We compare Batgto KLEE (an automatic test generation framework) and CBMC(a bounded model checker). This comparison is based on the time taken by the tools, the number of bugs found and the number of generated test cases. We analyse the results of our experiment, demonstrating the benefits of our approach.
Keywords
benchmark testing; formal verification; program debugging; program diagnostics; program testing; software prototyping; software tools; Batgto KLEE; CBMC; automatic test case generation; automatic test generation framework; benchmarking suites; bounded model checker; bounded symbolic computation; constraint solving; prototype tool; static analysis; test suite; Benchmark testing; Computer bugs; Concrete; Context; Prototypes; Syntactics; automatic test generation; bounded verification; constraint solving;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location
Montreal, QC
Print_ISBN
978-1-4577-1906-6
Type
conf
DOI
10.1109/ICST.2012.196
Filename
6200111
Link To Document