Model-based Testing from Input Output Symbolic Transition Systems Enriched by Program Calls and Contracts

Imen Boudhiba 1 Christophe Gaston 2 Pascale Gall 1 Virgile Prévosto 2
2 LRI - Laboratoire de Robotique Interactive
DIASI - Département Intelligence Ambiante et Systèmes Interactifs : DRT/LIST/DIASI
Abstract : An Input Output Symbolic Transition System (IOSTS) specifies all expected sequences of input and output messages of a reactive system. Symbolic execution over this IOSTS then allows to generate a set of test cases that can exercise the various possible behaviors of the system it represents. In this paper, we extend the IOSTS framework with explicit program calls, possibly equipped with contracts specifying what the program is supposed to do. This approach bridges the gap between a model-based approach in which user-defined programs are abstracted away and a code-based approach in which small pieces of code are separately considered regardless of the way they are combined. First, we extend symbolic execution techniques for IOSTS with programs, in order to re-use classical test case generation algorithms. Second, we explore how constraints coming from IOSTS symbolic execution can be used to infer contracts for programs used in the IOSTS.
Document type :
Book sections
Complete list of metadatas

Cited literature [23 references]  Display  Hide  Download

https://hal.inria.fr/hal-01470156
Contributor : Hal Ifip <>
Submitted on : Friday, February 17, 2017 - 10:25:52 AM
Last modification on : Thursday, February 7, 2019 - 4:45:51 PM
Long-term archiving on: Thursday, May 18, 2017 - 1:59:43 PM

File

385214_1_En_3_Chapter.pdf
Files produced by the author(s)

Identifiers

Citation

Imen Boudhiba, Christophe Gaston, Pascale Gall, Virgile Prévosto. Model-based Testing from Input Output Symbolic Transition Systems Enriched by Program Calls and Contracts. Testing Software and Systems , 9447), pp.35-51, 2014, Lecture Notes in Computer Science, ⟨10.1007/978-3-319-25945-1_3⟩. ⟨hal-01470156⟩

Share

Metrics

Record views

627

Files downloads

187