Title :
Requirements by contracts allow automated system testing
Author :
Nebut, Clémentine ; Fleurey, Franck ; Traon, Yves Le ; Jézéquel, Jean-Marc
Author_Institution :
IRISA, Univ. de Rennes, France
Abstract :
Use-cases and scenarios have been identified as good inputs to generate test cases and oracles at requirement level. Yet to have an automated generation, information is missing from use cases and sequence diagrams, such as the exact inputs of the system, and the ordering constraints between the use case. The contribution of this paper is then twofold. First we propose a contract language for functional requirements expressed as parameterized use cases. Then we provide a method, a formed model and a prototype tool to automatically derive both functional and robustness test cases from the requirements enhanced with contracts. We study the efficiency of the generated test cases on a case study.
Keywords :
formal specification; program testing; software tools; automated system testing; contract language; functional requirements; functional test case generation; parameterized use cases; prototype tool; requirements by contracts; robustness test case generation; sequence diagrams; Automatic testing; Computer industry; Contracts; Prototypes; Robustness; Sequential analysis; Software prototyping; Software testing; System testing; Unified modeling language;
Conference_Titel :
Software Reliability Engineering, 2003. ISSRE 2003. 14th International Symposium on
Print_ISBN :
0-7695-2007-3
DOI :
10.1109/ISSRE.2003.1251033