English

Applying SMT Solvers to the Test Template Framework

Software Engineering 2012-02-29 v1

Abstract

The Test Template Framework (TTF) is a model-based testing method for the Z notation. In the TTF, test cases are generated from test specifications, which are predicates written in Z. In turn, the Z notation is based on first-order logic with equality and Zermelo-Fraenkel set theory. In this way, a test case is a witness satisfying a formula in that theory. Satisfiability Modulo Theory (SMT) solvers are software tools that decide the satisfiability of arbitrary formulas in a large number of built-in logical theories and their combination. In this paper, we present the first results of applying two SMT solvers, Yices and CVC3, as the engines to find test cases from TTF's test specifications. In doing so, shallow embeddings of a significant portion of the Z notation into the input languages of Yices and CVC3 are provided, given that they do not directly support Zermelo-Fraenkel set theory as defined in Z. Finally, the results of applying these embeddings to a number of test specifications of eight cases studies are analysed.

Keywords

Cite

@article{arxiv.1202.6120,
  title  = {Applying SMT Solvers to the Test Template Framework},
  author = {Maximiliano Cristiá and Claudia Frydman},
  journal= {arXiv preprint arXiv:1202.6120},
  year   = {2012}
}

Comments

In Proceedings MBT 2012, arXiv:1202.5826

R2 v1 2026-06-21T20:26:00.983Z