Title :
Generation of functional test sequences from B formal specifications presentation and industrial case-study
Author :
Legeard, Bruno ; Peureux, Fabien
Author_Institution :
Lab. d´´Informatique, Univ. de Franche-Comte, Besancon, France
Abstract :
The paper presents an original method to generate test sequences. From formal specifications of the system to be tested, an equivalent system of constraints is derived, and then the domain of each state variable of this system is partitioned into subdomains. Using this partition, limit states are computed with a specific solver that uses constraint logic programming with sets. This specific solver is then used to build test sequences by traversing the constrained reachability graph of the specifications. Finally, the formal specifications are used as an oracle by using them to determine the expected output for a given input. The results of an industrial case-study of the Smart Card GSM 11-11 standard are presented and discussed.
Keywords :
constraint handling; formal specification; program testing; reachability analysis; set theory; smart cards; B formal specifications; Smart Card GSM 11-11 standard; constrained reachability graph; constraint logic programming; expected output; functional test sequence generation; industrial case-study; limit states; state variable; test sequence generation; Computational modeling; Content addressable storage; Design engineering; Formal specifications; GSM; Logic programming; Logic testing; Performance evaluation; Smart cards; System testing;
Conference_Titel :
Automated Software Engineering, 2001. (ASE 2001). Proceedings. 16th Annual International Conference on
Print_ISBN :
0-7695-1426-X
DOI :
10.1109/ASE.2001.989833