DocumentCode
1652511
Title
Generating efficient test sets with a model checker
Author
Hamon, Grégoire ; De Moura, Leonardo ; Rushby, John
Author_Institution
Dept. of Comput. Sci., Chalmers Univ. of Technol., Goteborg, Sweden
fYear
2004
Firstpage
261
Lastpage
270
Abstract
It is well-known that counterexamples produced by model checkers can provide a basis for automated generation of test cases. However when this approach is used to meet a coverage criterion, it generally results in very inefficient test sets having many tests and much redundancy. We describe an improved approach that uses model checkers to generate efficient test sets. Furthermore, the generation is itself efficient, and is able to reach deep regions of the statespace. We have prototyped the approach using the model checkers of our SAL system and have applied it to model-based designs developed in Stateflow. In one example, our method achieves complete state and transition coverage in a Stateflow model for the shift scheduler of a 4-speed automatic transmission with a single test case.
Keywords
program testing; program verification; 4-speed automatic transmission; SAL system; Stateflow model; automated test case generation; model checker; model-based designs; shift scheduler; test set generation; Automatic testing; Character generation; Computer science; Costs; Hardware; Laboratories; Prototypes; Software testing; System testing; Time measurement;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering and Formal Methods, 2004. SEFM 2004. Proceedings of the Second International Conference on
Print_ISBN
0-7695-2222-X
Type
conf
DOI
10.1109/SEFM.2004.1347530
Filename
1347530
Link To Document