DocumentCode :
1835686
Title :
Automated Generation of Test Cases from Contract-Oriented Specifications: A CSP-Based Approach
Author :
Belhaouari, Hakim ; Peschanski, Frederic
Author_Institution :
Lab. d´´Inf., Univ. de Paris 6, Paris
fYear :
2008
fDate :
3-5 Dec. 2008
Firstpage :
219
Lastpage :
228
Abstract :
In this paper, we discuss the automated generation of test cases from contract-oriented specifications. The static analysis we develop rely on original constraint minimization and satisfaction techniques (CSP). We propose a flexible CSP architecture that can apply not only on integer or bounded domains but also on arbitrary types. The original notion of type builders is used to establish the connection between the type semantics and the CSP framework. We illustrate this aspect by developing a string builder that can automatically generate string instances depending on combinations of constraints based on string sizes and substrings. The scope of these techniques goes beyond the generation of test cases. They are used in other static analyzes, most notably a symbolic animation of contracts that can detect inconsistencies early in the development cycle.
Keywords :
constraint theory; formal specification; minimisation; program diagnostics; program testing; software architecture; automated test case generation; constraint minimization; contract-oriented specifications; flexible CSP architecture; satisfaction techniques; static analysis; symbolic contract animation; Automata; Automatic testing; Contracts; Logic testing; Runtime; Software prototyping; Software testing; Software tools; System testing; Systems engineering and theory; Constraints Satisfaction Problems; automated testing; contract animation; design by contract; model-based testing; string builders; type builders;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
High Assurance Systems Engineering Symposium, 2008. HASE 2008. 11th IEEE
Conference_Location :
Nanjing
ISSN :
1530-2059
Print_ISBN :
978-0-7695-3482-4
Type :
conf
DOI :
10.1109/HASE.2008.15
Filename :
4708880
Link To Document :
بازگشت