Safety Property Driven Test Generation from {JML} Specifications

Fabrice Bouquet 1 Frédéric Dadeau 1, 2 Julien Groslambert 1 Jacques Julliand 1
2 CASSIS - Combination of approaches to the security of infinite states systems
FEMTO-ST - Franche-Comté Électronique Mécanique, Thermique et Optique - Sciences et Technologies (UMR 6174), INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
Abstract : This paper describes the automated generation of test sequences derived from a JML specification and a safety property written in an ad hoc language, named JTPL. The functional JML model is animated to build the test sequences w.r.t. the safety properties, which represent the test targets. From these properties, we derive strategies that are used to guide the symbolic animation. Moreover, additional JML annotations reinforce the oracle in order to guarantee that the safety properties are not violated during the execution of the test suite. Finally, we illustrate this approach on an industrial JavaCard case study.
Complete list of metadatas
Contributor : Jean-Michel Caricand <>
Submitted on : Friday, February 4, 2011 - 3:35:55 PM
Last modification on : Friday, July 6, 2018 - 3:06:10 PM
Long-term archiving on : Thursday, May 5, 2011 - 3:14:41 AM


Files produced by the author(s)



Fabrice Bouquet, Frédéric Dadeau, Julien Groslambert, Jacques Julliand. Safety Property Driven Test Generation from {JML} Specifications. FATES/RV'06, 1st Int. Workshop on Formal Approaches to Testing and Runtime Verification, 2006, Seattle, United States. pp.225--239, ⟨10.1007/11940197⟩. ⟨hal-00563280⟩



Record views


Files downloads