English

Syntactic Abstraction of B Models to Generate Tests

Logic in Computer Science 2010-06-01 v2 Symbolic Computation Software Engineering

Abstract

In a model-based testing approach as well as for the verification of properties, B models provide an interesting solution. However, for industrial applications, the size of their state space often makes them hard to handle. To reduce the amount of states, an abstraction function can be used, often combining state variable elimination and domain abstractions of the remaining variables. This paper complements previous results, based on domain abstraction for test generation, by adding a preliminary syntactic abstraction phase, based on variable elimination. We define a syntactic transformation that suppresses some variables from a B event model, in addition to a method that chooses relevant variables according to a test purpose. We propose two methods to compute an abstraction A of an initial model M. The first one computes A as a simulation of M, and the second one computes A as a bisimulation of M. The abstraction process produces a finite state system. We apply this abstraction computation to a Model Based Testing process.

Keywords

Cite

@article{arxiv.1004.1262,
  title  = {Syntactic Abstraction of B Models to Generate Tests},
  author = {Jacques Julliand and Nicolas Stouls and Pierre-Christophe Bué and Pierre-Alain Masson},
  journal= {arXiv preprint arXiv:1004.1262},
  year   = {2010}
}

Comments

Tests and Proofs 2010, Malaga : Spain (2010)