DocumentCode
3024697
Title
Evotec: Evolving the Best Testing Strategy for Contract-Equipped Programs
Author
Silva, Lucas Serpa ; Wei, Yi ; Meyer, Bertrand ; Oriol, Manuel
Author_Institution
Dept. of Software Eng., ETH Zurich, Zurich, Switzerland
fYear
2011
fDate
5-8 Dec. 2011
Firstpage
290
Lastpage
297
Abstract
Automated random testing is efficient at detecting faults but it is certainly not an optimal testing strategy for every given program. For example, an automated random testing tool ignores that some routines have stronger preconditions, they use certain literal values, or they are more error-prone. Taking into account such characteristics may increase testing effectiveness. In this article, we present Evotec, an enhancement of random testing which relies on genetic algorithms to evolve a best testing strategy for contract-equipped programs. The resulting strategy is optimized for detecting more faults, satisfying more routine preconditions and establishing more object states on a given set of classes to test. Our experiment tested 92 classes over 1710 hours. It shows that Evotec detected 29% more faults than random+ and 18% more faults than the precondition-satisfaction strategy.
Keywords
genetic algorithms; program testing; random processes; Evotec; automated random testing; contract-equipped program; genetic algorithm; Arrays; Biological cells; Contracts; Fault detection; Genetic algorithms; Indexes; Testing; Automated Software Testing; Genetic Algorithm; Static-Analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference (APSEC), 2011 18th Asia Pacific
Conference_Location
Ho Chi Minh
ISSN
1530-1362
Print_ISBN
978-1-4577-2199-1
Type
conf
DOI
10.1109/APSEC.2011.34
Filename
6130699
Link To Document