Artículo
BEAPI: A tool for bounded exhaustive input generation from APIs
Politano, Mariano
; Bengolea, Valeria Susana
; Molina, Facundo; Aguirre, Nazareno Matias
; Frias, Marcelo Fabian
; Ponzio, Pablo Daniel
Fecha de publicación:
12/2024
Editorial:
Elsevier Science
Revista:
Science of Computer Programming
ISSN:
0167-6423
Idioma:
Inglés
Tipo de recurso:
Artículo publicado
Clasificación temática:
Resumen
Bounded exhaustive testing is a very effective technique for bug finding, which proposes to test a given program under all valid bounded inputs, for a bound provided by the developer. Existing bounded exhaustive testing techniques require the developer to provide a precise specification of the valid inputs. Such specifications are rarely present as part of the software under test, and writing them can be costly and challenging. To address this situation we propose BEAPI, a tool that given a Java class under test, generates a bounded exhaustive set of objects of the class solely employing the methods of the class, without the need for a specification. BEAPI creates sequences of calls to methods from the class' public API, and executes them to generate inputs. BEAPI implements very effective pruning techniques that allow it to generate inputs efficiently. We experimentally assessed BEAPI in several case studies from the literature, and showed that it performs comparably to the best existing specification-based bounded exhaustive generation tool (Korat), without requiring a specification of the valid inputs.
Palabras clave:
Software Testing
,
Automated Test Generation
,
Bounded Exhaustive Testing
Archivos asociados
Licencia
Identificadores
Colecciones
Articulos(CCT - CORDOBA)
Articulos de CTRO.CIENTIFICO TECNOL.CONICET - CORDOBA
Articulos de CTRO.CIENTIFICO TECNOL.CONICET - CORDOBA
Citación
Politano, Mariano; Bengolea, Valeria Susana; Molina, Facundo; Aguirre, Nazareno Matias; Frias, Marcelo Fabian; et al.; BEAPI: A tool for bounded exhaustive input generation from APIs; Elsevier Science; Science of Computer Programming; 238; 103153; 12-2024; 1-14
Compartir
Altmétricas