Electronic Proceedings in Theoretical Computer Science (Mar 2014)

Using Formal Specifications to Support Model Based Testing ASDSpec: A Tool Combining the Best of Two Techniques

  • A.P. van der Meer,
  • R. Kherrazi,
  • M. Hamilton

DOI
https://doi.org/10.4204/EPTCS.141.1
Journal volume & issue
Vol. 141, no. Proc. MBT 2014
pp. 1 – 13

Abstract

Read online

Formal methods and testing are two important approaches that assist in the development of high quality software. For long time these approaches have been seen as competitors and there was very little interaction between the two communities. In recent years a new consensus has developed in which they are seen as more complementary. In this report we present an approach based on the ASD(Analytical Software Design) suite by Verum and the Microsoft Spec Explorer Model Based Testing(MBT) tool. ASD is a model-based design approach that can produce verified software components that can be combined into complete systems. However, ASD cannot verify existing components, nor complex component interactions involving data transfers. We have developed a tool that allows us to convert ASD models to Spec Explorer, allowing us to do more complete verification of software systems using dynamic testing at little additional cost and effort. We demonstrate this by applying our approach to an industrial-size case study.