Skip to Main content Skip to Navigation
Conference papers

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.
Document type :
Conference papers
Complete list of metadatas

Cited literature [15 references]  Display  Hide  Download

https://hal.inria.fr/hal-01571497
Contributor : Hal Ifip <>
Submitted on : Wednesday, August 2, 2017 - 4:22:36 PM
Last modification on : Monday, May 25, 2020 - 5:34:03 PM

File

978-3-642-23960-1_45_Chapter.p...
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

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⟩

Share

Metrics

Record views

212

Files downloads

178