Aviso: para depositar documentos, por favor, inicia sesión e identifícate con tu cuenta de correo institucional de la UCM con el botón MI CUENTA UCM. No emplees la opción AUTENTICACIÓN CON CONTRASEÑA
 

A unified framework for declarative debugging and testing

dc.contributor.authorCaballero Roldán, Rafael
dc.contributor.authorRiesco Rodríguez, Adrián
dc.contributor.authorMartín Martín, Enrique
dc.contributor.authorTamarit, Salvador
dc.date.accessioned2023-12-11T14:55:53Z
dc.date.available2023-12-11T14:55:53Z
dc.date.issued2020
dc.description.abstractContext: Debugging is the most challenging and time consuming task in software development. However, it is not properly integrated in the software development cycle, because the result of so much effort is not available in further iterations of the cycle, and the debugging process itself does not benefit from the outcome of other phases such as testing. Objective: We propose to integrate debugging and testing within a single unified framework where each phase generates useful information for the other and the outcomes of each phase are reused. Method: We consider a declarative debugging setting that employs tests to automatically entail the validity of some subcomputations, thus decreasing the time and effort needed to find a bug. Additionally, the debugger stores as new tests the information collected from the user during the debugging phase. This information becomes part of the program test suite, and can be used in future debugging sessions, and also as regression tests. Results: We define a general framework where declarative debugging establishes a bidirectional collaboration with testing. The new setting preserves the properties of the underlying declarative debugging framework (weak completeness and soundness) while generating test cases that can be used later in other debugging sessions or even in other cycles of the software development. The proposed framework is general enough to be instantiated to very different programming languages: Erlang (functional), Java (imperative, object-oriented), and SQL (data query); and the experimental results obtained for Erlang programs validate the effectiveness of the framework. Conclusion: We propose a general unified framework for debugging and testing that simplifies each phase and maximizes the reusability of the outcomes in the different phases of the software development cycle, therefore reducing the overall effort.
dc.description.departmentDepto. de Sistemas Informáticos y Computación
dc.description.facultyFac. de Informática
dc.description.refereedTRUE
dc.description.statuspub
dc.identifier.citationCaballero, Rafael, et al. «A Unified Framework for Declarative Debugging and Testing». Information and Software Technology, vol. 129, enero de 2021, p. 106427. https://doi.org/10.1016/j.infsof.2020.106427.
dc.identifier.doi10.1016/J.INFSOF.2020.106427
dc.identifier.issn1873-6025
dc.identifier.officialurlhttps://doi.org/10.1016/j.infsof.2020.106427
dc.identifier.urihttps://hdl.handle.net/20.500.14352/91146
dc.language.isoeng
dc.publisherElsevier
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 Internationalen
dc.rights.accessRightsrestricted access
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subject.keywordProperty-based testing
dc.subject.keywordUnit testing
dc.subject.keywordDeclarative debugging
dc.subject.keywordUnified framework
dc.subject.ucmInformática (Informática)
dc.subject.unesco1203.17 Informática
dc.titleA unified framework for declarative debugging and testing
dc.typejournal article
dc.type.hasVersionVoR
dc.volume.number129
dspace.entity.typePublication
relation.isAuthorOfPublicationd17b0355-2695-449e-b06e-a34f4e27f120
relation.isAuthorOfPublication068dda11-d320-4634-a908-28a4bc4b0eb4
relation.isAuthorOfPublication8c7dbac8-1093-454e-a0cf-e7b2f316cf09
relation.isAuthorOfPublication.latestForDiscoveryd17b0355-2695-449e-b06e-a34f4e27f120

Download

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Declarative_debugging_and_testing.pdf
Size:
2.03 MB
Format:
Adobe Portable Document Format

Collections