Safety property driven test generation from JML specifications

  • Authors:
  • Fabrice Bouquet;Frédéric Dadeau;Julien Groslambert;Jacques Julliand

  • Affiliations:
  • Université de Franche-Comté – LIFC – CNRS – INRIA, Besançon, France;Université de Franche-Comté – LIFC – CNRS – INRIA, Besançon, France;Université de Franche-Comté – LIFC – CNRS – INRIA, Besançon, France;Université de Franche-Comté – LIFC – CNRS – INRIA, Besançon, France

  • Venue:
  • FATES'06/RV'06 Proceedings of the First combined international conference on Formal Approaches to Software Testing and Runtime Verification
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

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.