Skip to Main content Skip to Navigation
Journal articles

Scenario-Based Testing using Symbolic Animation of B Models

Abstract : This article presents a model-based test generation technique, from user-defined scenarios, for behavioral models expressed as B machines. Scenarios are expressed using a customized formalism, based on regular expressions, that makes it possible to describe sequences of operation calls possibly reaching specific states of the system. A symbolic animation engine, simulating the execution of a model using constraint logic programming, is then exploited to play the unfolded scenarios on the model and to instantiate the test cases, providing the expected results used to establish the conformance verdict. This approach is tool-supported by a research prototype and has been successfully applied in an industrial context of a smart card applet. This tool is extended by a scenario generator, which automatically generates testing strategies for exercising user-defined properties, written using specific patterns.
Complete list of metadatas
Contributor : Jean-Michel Caricand <>
Submitted on : Tuesday, April 19, 2016 - 9:26:12 AM
Last modification on : Thursday, November 12, 2020 - 9:42:14 AM


  • HAL Id : hal-01304051, version 1


Frédéric Dadeau, Kalou Castillos, Régis Tissot. Scenario-Based Testing using Symbolic Animation of B Models. Software Testing, Verification and Reliability, STVR, 2012, 22 (6), pp.407--434. ⟨hal-01304051⟩



Record views