A framework and tool support for the systematic testing of model-based specifications


Autoria(s): Miller, T.; Strooper, P.
Contribuinte(s)

Ghezzi, C.

Data(s)

01/01/2003

Resumo

Formal specifications can precisely and unambiguously define the required behavior of a software system or component. However, formal specifications are complex artifacts that need to be verified to ensure that they are consistent, complete, and validated against the requirements. Specification testing or animation tools exist to assist with this by allowing the specifier to interpret or execute the specification. However, currently little is known about how to do this effectively. This article presents a framework and tool support for the systematic testing of formal, model-based specifications. Several important generic properties that should be satisfied by model-based specifications are first identified. Following the idea of mutation analysis, we then use variants or mutants of the specification to check that these properties are satisfied. The framework also allows the specifier to test application-specific properties. All properties are tested for a range of states that are defined by the tester in the form of a testgraph, which is a directed graph that partially models the states and transitions of the specification being tested. Tool support is provided for the generation of the mutants, for automatically traversing the testgraph and executing the test cases, and for reporting any errors. The framework is demonstrated on a small specification and its application to three larger specifications is discussed. Experience indicates that the framework can be used effectively to test small to medium-sized specifications and that it can reveal a significant number of problems in these specifications.

Identificador

http://espace.library.uq.edu.au/view/UQ:67052

Idioma(s)

eng

Publicador

ACM

Palavras-Chave #Computer Science, Software Engineering #Verification #Formal Verification #Specification Animation #Testgraphs #Testing #Programs #C1 #280302 Software Engineering #700199 Computer software and services not elsewhere classified
Tipo

Journal Article