Title :
Behaviour Directed Testing of Auto-code Generators
Author :
Sampath, Prahladavaradan ; Rajeev, A.C. ; Ramesh, S. ; Shashidhar, K.C.
Abstract :
This paper addresses the problem of testing auto-code generators. Auto-code generators take as input a model in certain modeling language, and produce as output a program that captures the execution semantics of the input-model. We focus on the problem of test specification for the purpose of automatically generating a test-suite. We propose a novel technique for test specification based on the execution behavior of models. We also propose an algorithm that uses such a behavioral test specification for directing test-case generation towards very specific behavioral patterns that we would like to exercise. We have implemented this technique, and have applied it for generating test-cases for a Stateflow auto-code generator.
Keywords :
formal specification; program compilers; program testing; program verification; programming language semantics; specification languages; auto-code generator verification; behavioral test specification; behaviour directed testing; execution semantics; modeling language; stateflow auto-code generator testing; test-case generation; Automatic programming; Automatic test pattern generation; Automatic testing; Domain specific languages; Formal verification; Research and development; Software engineering; Software testing; Test pattern generators; Unified modeling language; Auto-code generator; Automatic test-case generation; Behavioural test specification; Semantics; Stateflow;
Conference_Titel :
Software Engineering and Formal Methods, 2008. SEFM '08. Sixth IEEE International Conference on
Conference_Location :
Cape Town
Print_ISBN :
978-0-7695-3437-4
DOI :
10.1109/SEFM.2008.13