Please use this identifier to cite or link to this item:
http://bura.brunel.ac.uk/handle/2438/9994
Title: | The oracle problem when testing from MSCs |
Authors: | Dan, H Hierons, RM |
Keywords: | Message sequence charts;Oracle problems;Testing |
Issue Date: | 2014 |
Publisher: | Oxford University Press |
Citation: | Computer Journal, 57:7, 987 - 1001, 2014 |
Abstract: | Message sequence charts (MSCs) form a popular language in which scenario-based specifications and models can be written. There has been significant interest in automating aspects of testing from MSCs. This paper concerns the Oracle Problem, in which we have an observation made in testing and wish to know whether this is consistent with the specification. We assume that there is an MSC specification and consider the case where we have entirely independent local testers (local observability) and where the observations of the local testers are logged and brought together (tester observability). It transpires that, under local observability, the Oracle Problem can be solved in low-order polynomial time if we use sequencing, loops and choices, but becomes NP-complete if we also allow parallel components; if we place a bound on the number of parallel components, then it again can be solved in polynomial time. For tester observability, the problem is NP-complete when we have either loops or choices. However, it can be solved in low-order polynomial time if we have only one loop, no choices and no parallel components. If we allow parallel components, then the Oracle Problem is NP-complete for tester observability even if we restrict to the case where there are at most two processes. © 2013 The British Computer Society. All rights reserved. |
URI: | http://comjnl.oxfordjournals.org/content/57/7/987 http://bura.brunel.ac.uk/handle/2438/9994 |
DOI: | http://dx.doi.org/10.1093/comjnl/bxt055 |
ISSN: | 0010-4620 |
Appears in Collections: | Dept of Computer Science Research Papers |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
Fulltext.pdf | 567.93 kB | Adobe PDF | View/Open |
Items in BURA are protected by copyright, with all rights reserved, unless otherwise indicated.