Preamble computation in automated test case generation using constraint logic programming
- 7 September 2004
- journal article
- research article
- Published by Wiley in Software Testing, Verification and Reliability
- Vol. 14 (3) , 213-235
Abstract
BZ‐Testing‐Tools (BZ‐TT) is a tool‐set for automated model‐based test case generation from B abstract machines and Z specifications. BZ‐TT uses boundary testing as well as cause–effect testing on the basis of the formal model. It has been used and validated on several industrial case studies in the domain of critical software: in particular for smart card applications and automotive embedded systems. The main idea of BZ‐TT is to compute a boundary goal for each effect of the operations of the model and then to compute a preamble sequence of operations to place the system under test in such a state that satisfies the goal.In this paper, the preamble computation search strategies used in BZ‐TT are presented. More precisely, two algorithms based respectively on forward chaining and backward chaining are compared. These algorithms both use a customized set constraint solver, which is able to animate the formal model. These algorithms differ, however, in their capacity to reach the boundary goals efficiently. The results of applying the tools to an industrial windscreen wiper controller application are presented. Copyright © 2004 John Wiley & Sons, Ltd.Keywords
This publication has 17 references indexed in Scilit:
- Generation of test sequences from formal specifications: GSM 11-11 standard case studySoftware: Practice and Experience, 2004
- Controlling test case explosion in test generation from B formal modelsSoftware Testing, Verification and Reliability, 2004
- CLPS–B – A constraint solver to animate a B specificationInternational Journal on Software Tools for Technology Transfer, 2003
- Reification of Executable Test Scripts in Formal Specification-Based Test Generation: The Java Card Transaction Mechanism Case Study2003
- CLPS-B—A Constraint Solver for B2002
- Testing a system specified using Statecharts and ZInformation and Software Technology, 2000
- Test Criteria Definition for B ModelsLecture Notes in Computer Science, 1999
- Testing from a Z SpecificationSoftware Testing, Verification and Reliability, 1997
- Interval propagation to reason about sets: Definition and implementation of a practical languageConstraints, 1997
- Using formal specifications to support software testingSoftware Quality Journal, 1995