Skip to Main content Skip to Navigation
New interface
Conference papers

Automated Boundary Test Generation from JML Specifications

Fabrice Bouquet 1 Frédéric Dadeau 1 Bruno Legeard 1 
1 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 Nancy - Grand Est, LORIA - FM - Department of Formal Methods
Abstract : We present an original approach for the automated computation of model-based test cases from specifications written in Java Modeling Language (JML). We aim at activating all the behaviors from the JML method specifications. Therefore, we extract each behavior and we compute the pertinent test data for the input parameters; we select the boundary values of the ordered domains, and we consider specific features for the objects, involving inheritance and aliasing. Finally, a preamble for each test case is computed by symbolic animation of the JML specification using constraint logic programming techniques. Thus, we are able to automatically generate executable Java test sequences to be run on the system under test. Moreover, this process requires the less possible intervention from a validation engineer.
Document type :
Conference papers
Complete list of metadata
Contributor : Frédéric Dadeau Connect in order to contact the contributor
Submitted on : Monday, October 13, 2008 - 5:16:40 PM
Last modification on : Friday, January 21, 2022 - 3:09:38 AM

Links full text



Fabrice Bouquet, Frédéric Dadeau, Bruno Legeard. Automated Boundary Test Generation from JML Specifications. 14th international symposium on Formal Methods - FM'06, Aug 2006, Hamilton, Canada. pp.428-443, ⟨10.1007/11813040⟩. ⟨inria-00329979⟩



Record views