Enabledness-based testing of object protocols
File(s)epatesting.pdf (1.98 MB)
Accepted version
Author(s)
Godoy, Javier
Galeotti, Juan Pablo
Garbervetsky, Diego
Uchitel, Sebastian
Type
Journal Article
Abstract
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 findfailures. 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.
Date Issued
2021-03-01
Date Acceptance
2020-07-01
Citation
ACM Transactions on Software Engineering and Methodology, 2021, 30 (2), pp.1-29
ISSN
1049-331X
Publisher
Association for Computing Machinery (ACM)
Start Page
1
End Page
29
Journal / Book Title
ACM Transactions on Software Engineering and Methodology
Volume
30
Issue
2
Copyright Statement
© 2020 Copyright held by the owner/author(s). Publication rights licensed to ACM. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM Transactions on Software Engineering and Methodology, {30, 2, March 2021} https://doi.org/10.1145/3415153
Identifier
https://dl.acm.org/doi/10.1145/3415153
Subjects
Software Engineering
0803 Computer Software
0806 Information Systems
Publication Status
Published
Article Number
12
Date Publish Online
2021-01-03