Behaviour abstraction adequacy criteria for API call protocol testing
File(s)bcu_stvr.pdf (1003.29 KB)
Accepted version
Author(s)
Czemerinski, H
Braberman, V
Uchitel, S
Type
Journal Article
Abstract
Code artefacts that have non-trivial requirements with respect to the ordering in which their methods or procedures ought to be called are common and appear, for instance, in the form of API implementations and objects. Testing such code artefacts to gain confidence that they conform to their intended protocols is an important and challenging problem. This paper proposes conformance testing adequacy criteria based on covering an abstraction of the intended behaviour's semantics. Thus, the criteria are independent of the specification language and structure used to describe the intended protocol and the language used to implement it. As a consequence, the results may be of use to black box conformance testing approaches in general. Experimental results show that the criteria are a good predictor for fault detection for protocol conformance and for classical structural coverage criteria such as statement and branch coverage. They also show that the division of the domain derived from the criterion produces subdomains such that most of its inputs are fault revealing.
Date Issued
2015-10-16
Date Acceptance
2015-09-20
Citation
Software Testing Verification & Reliability, 2015, 26 (3), pp.211-244
ISSN
1099-1689
Publisher
Wiley
Start Page
211
End Page
244
Journal / Book Title
Software Testing Verification & Reliability
Volume
26
Issue
3
Copyright Statement
© 2015 John Wiley & Sons, Ltd. This is the accepted version of the following article: Czemerinski, H., Braberman, V., and Uchitel, S. (2016) Behaviour abstraction adequacy criteria for API call protocol testing. Softw. Test. Verif. Reliab., 26: 211–244, which has been published in final form at http://dx.doi.org/10.1002/stvr.1593
Subjects
Science & Technology
Technology
Computer Science, Software Engineering
Computer Science
software testing
API call protocol
adequacy criteria
GENERATING TEST DATA
COVERAGE CRITERIA
TEST SUITES
CHECKING
MUTATION
SPECIFICATIONS
IMPLEMENTATION
SIMULATION
SYSTEMS
Software Engineering
0803 Computer Software
Publication Status
Published