DocumentCode :
1861891
Title :
GenRed: A Tool for Generating and Reducing Object-Oriented Test Cases
Author :
Jaygarl, Hojun ; Lu, Kai-Shin ; Chang, Carl K.
Author_Institution :
Dept. of Comput. Sci., Iowa State Univ., Ames, IA, USA
fYear :
2010
fDate :
19-23 July 2010
Firstpage :
127
Lastpage :
136
Abstract :
An important goal of automatic testing techniques, including random testing is to achieve high code coverage with a minimum set of test cases. To meet this goal, random testing researchers have proposed many techniques to generate test inputs and method call sequences that yield higher code coverage. However, most proposed random testing techniques are only suitable for toy systems, and they achieve low code coverage rates while generating too many unnecessary test cases on large-scale software systems. We propose GENRED, a tool that utilizes three approaches: input on demand creation and coverage-based method selection techniques that enhance Randoop, a state-of-the-art feedback-directed random testing technique, and finally, a sequence-based reduction technique that removes redundant test cases without executing them. We evaluate GENRED as a tool to test four open-source systems. The results show that these techniques achieve branch coverage improvement by 13.7% and prune 51.8% of the test cases without sacrificing code coverage.
Keywords :
object-oriented methods; program testing; public domain software; random processes; GenRed; Randoop; automatic testing techniques; code coverage; coverage-based method selection techniques; large-scale software systems; object-oriented test case generation; object-oriented test case reduction; open-source systems; random testing techniques; sequence-based reduction technique; Arrays; Humans; Object oriented modeling; Receivers; Silicon; Software systems; Testing; Adaptive Random Testing; Automated Test Generation; Test Suite Reduction;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference (COMPSAC), 2010 IEEE 34th Annual
Conference_Location :
Seoul
ISSN :
0730-3157
Print_ISBN :
978-1-4244-7512-4
Electronic_ISBN :
0730-3157
Type :
conf
DOI :
10.1109/COMPSAC.2010.19
Filename :
5676251
Link To Document :
بازگشت