Benchmark Generator for Software Testers - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2011

Benchmark Generator for Software Testers

Abstract

In the field of search based software engineering, evolutionary testing is a very popular domain in which test cases are automatically generated for a given piece of code using evolutionary algorithms. The techniques used in this domain usually are hard to compare since there is no standard testbed. In this paper we propose an automatic program generator to solve this situation. The program generator is able to create Java programs with the desired features. In addition, we can ensure that all the branches in the programs are reachable, i.e. a 100% branch coverage is always possible. Thanks to this feature the research community can test and enhance their algorithms until a total coverage is achieved. The potential of the program generator is illustrated with an experimental study on a benchmark of 800 generated programs. We highlight the correlations between some static measures computed on the program and the code coverage when an evolutionary test case generator is used. In particular, we compare three techniques as the search engine for the test case generator: an Evolutionary Strategy, a Genetic Algorithm and a Random Search.
Fichier principal
Vignette du fichier
978-3-642-23960-1_45_Chapter.pdf (174.99 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01571497 , version 1 (02-08-2017)

Licence

Attribution

Identifiers

Cite

Javier Ferrer, Francisco Chicano, Enrique Alba. Benchmark Generator for Software Testers. 12th Engineering Applications of Neural Networks (EANN 2011) and 7th Artificial Intelligence Applications and Innovations (AIAI), Sep 2011, Corfu, Greece. pp.378-388, ⟨10.1007/978-3-642-23960-1_45⟩. ⟨hal-01571497⟩
254 View
67 Download

Altmetric

Share

Gmail Facebook X LinkedIn More