DocumentCode :
2672349
Title :
Guided test generation for coverage criteria
Author :
Pandita, Rahul ; Xie, Tao ; Tillmann, Nikolai ; De Halleux, Jonathan
Author_Institution :
Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
fYear :
2010
fDate :
12-18 Sept. 2010
Firstpage :
1
Lastpage :
10
Abstract :
Test coverage criteria including boundary-value and logical coverage such as Modified Condition/Decision Coverage (MC/DC) have been increasingly used in safety-critical or mission-critical domains, complementing those more popularly used structural coverage criteria such as block or branch coverage. However, existing automated test-generation approaches often target at block or branch coverage for test generation and selection, and therefore do not support testing against boundary-value coverage or logical coverage. To address this issue, we propose a general approach that uses instrumentation to guide existing test-generation approaches to generate test inputs that achieve boundary-value and logical coverage for the program under test. Our preliminary evaluation shows that our approach effectively helps an approach based on Dynamic Symbolic Execution (DSE) to improve boundary-value and logical coverage of generated test inputs. The evaluation results show 30.5% maximum (23% average) increase in boundary-value coverage and 26% maximum (21.5% average) increase in logical coverage of the subject programs under test using our approach over without using our approach. In addition, our approach improves the fault-detection capability of generated test inputs by 12.5% maximum (11% average) compared to the test inputs generated without using our approach.
Keywords :
program testing; safety-critical software; software maintenance; software quality; boundary value coverage; decision coverage; dynamic symbolic execution; fault detection; logical coverage; modified condition; program under test; safety critical; Algorithm design and analysis; Boundary conditions; Concrete; Generators; Instruments; Testing; Transforms;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance (ICSM), 2010 IEEE International Conference on
Conference_Location :
Timisoara
ISSN :
1063-6773
Print_ISBN :
978-1-4244-8630-4
Electronic_ISBN :
1063-6773
Type :
conf
DOI :
10.1109/ICSM.2010.5609565
Filename :
5609565
Link To Document :
بازگشت