Please use this identifier to cite or link to this item: http://hdl.handle.net/2381/31971
Title: Assessing and generating test sets in terms of behavioural adequacy
Authors: Fraser, G.
Walkinshaw, Neil
First Published: 20-Mar-2015
Publisher: Wiley
Citation: Software Testing, Verification and Reliability, 2015
Abstract: Identifying a finite test set that adequately captures the essential behaviour of a program such that all faults are identified is a well-established problem. This is traditionally addressed with syntactic adequacy metrics (e.g. branch coverage), but these can be impractical and may be misleading even if they are satisfied. One intuitive notion of adequacy, which has been discussed in theoretical terms over the past three decades, is the idea of behavioural coverage: If it is possible to infer an accurate model of a system from its test executions, then the test set can be deemed to be adequate. Despite its intuitive basis, it has remained almost entirely in the theoretical domain because inferred models have been expected to be exact (generally an infeasible task) and have not allowed for any pragmatic interim measures of adequacy to guide test set generation. This paper presents a practical approach to incorporate behavioural coverage. Our bestest approach (1) enables the use of machine learning algorithms to augment standard syntactic testing approaches and (2) shows how search-based testing techniques can be applied to generate test sets with respect to this criterion. An empirical study on a selection of Java units demonstrates that test sets with higher behavioural coverage significantly outperform current baseline test criteria in terms of detected faults.
DOI Link: 10.1002/stvr.1575
ISSN: 0960-0833
eISSN: 1099-1689
Links: http://onlinelibrary.wiley.com/doi/10.1002/stvr.1575/abstract
http://hdl.handle.net/2381/31971
Version: Publisher Version
Status: Peer-reviewed
Type: Journal Article
Rights: © 2015 The Authors. Software Testing, Verification and Reliability published by John Wiley & Sons, Ltd. This is an open access article under the terms of the Creative Commons Attribution License (CC BY 4.0) http://creativecommons.org/licenses/by/4.0/, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.
Appears in Collections:Published Articles, Dept. of Computer Science

Files in This Item:
File Description SizeFormat 
Fraser_et_al-2015-Software_Testing,_Verification_and_Reliability.pdfPublisher version2.11 MBAdobe PDFView/Open


Items in LRA are protected by copyright, with all rights reserved, unless otherwise indicated.