Enabledness-based Testing of Object Protocols
Palabras clave:
Automatic Test Generation, Enabledness-Preserving Abstractions, Genetic AlgorithmsResumen
A significant proportion of classes in modern software introduce or use object protocols, prescriptions on the temporal orderings of method calls on objects. This paper studies search-based test generation techniques that aim to exploit a particular abstraction of object protocols (enabledness preserving abstractions, EPAs) to find failures. We define coverage criteria over an extension of EPAs that includes abnormal method termination and define a search-based test case generation technique aimed at achieving high coverage. Results suggest that the proposed case generation technique with a fitness function that aims at combined structural and extended EPA coverage can provide better failure-detection capabilities not only for protocol failures but also for general failures when compared to random testing and search-based test generation for standard structural coverage. This article was published in ACM Transactions on Software Engineering and Methodology, Volume 30. Issue 2: https://doi.org/10.1145/3415153.
Descargas
Descargas
Publicado
Número
Sección
Licencia
Derechos de autor 2022 Javier Godoy, Juan Pablo Galeotti, Diego Garbervetsky, Sebastián Uchitel

Esta obra está bajo una licencia internacional Creative Commons Atribución-NoComercial-CompartirIgual 4.0.
Acorde a estos términos, el material se puede compartir (copiar y redistribuir en cualquier medio o formato) y adaptar (remezclar, transformar y crear a partir del material otra obra), siempre que a) se cite la autoría y la fuente original de su publicación (revista y URL de la obra), b) no se use para fines comerciales y c) se mantengan los mismos términos de la licencia.