Logo image
Putting formal specifications under the magnifying glass: Model-based testing for validation
Conference paper   Open access   Peer reviewed

Putting formal specifications under the magnifying glass: Model-based testing for validation

E G Aydal, R F Paige, Mark Utting and J Woodcock
2nd International Conference on Software Testing, Verification, and Validation, pp.131-140
International Conference on Software Testing, Verification, and Validation (ICST 2009), 2nd (Denver, United States, 01-Apr-2009–04-Apr-2009)
IEEE Publishing Inc.
2009
pdf
PDF - Author's Accepted Version233.73 kBDownloadView
Accepted VersionPDF - Author Accepted Version Open Access
url
https://doi.org/10.1109/ICST.2009.20View
Published Version

Abstract

alloy model-based testing Z test case generation
A software development process is conceptually an abstract form of model transformation, starting from an enduser model of requirements, through to a system model for which code can be automatically generated. The success (or failure) of such a transformation depends substantially on obtaining a correct, well-formed initial model that captures user concerns. Model-based testing automates black box testing based on the model of the system under analysis. This paper proposes and evaluates a novel model-based testing technique that aims to reveal specification/requirement-related errors by generating test cases from a test model and exercising them on the design model. The case study outlined in the paper shows that a separate test model not only increases the level of objectivity of the requirements, but also supports the validation of the system under test through test case generation. The results obtained from the case study support the hypothesis that there may be discrepancies between the formal specification of the system modeled and the problem to be solved, and that using solely formal verification methods may not be sufficient to reveal these. The approach presented in this paper aims at providing means to obtain greater confidence in the design model that is used as the basis for code generation.

Details

Metrics

79 File views/ downloads
458 Record Views
Logo image