Tool support for generating passive C++ test oracles from object-z specifications


Autoria(s): McDonald, J.; Strooper, P. A.; Hoffman, D.
Contribuinte(s)

P. Muenchaisri

D. Bae

Data(s)

01/01/2003

Resumo

A test oracle provides a means for determining whether an implementation behaves according to its specification. A passive test oracle checks that the correct behaviour has been implemented, but does not implement the behaviour itself. In previous work, we have presented a method that allows us to derive passive C++ test oracles from formal specifications written in Object-Z. We describe the "Warlock" prototype tool that supports the method. Warlock is built on top of an existing Object-Z type checker and generates oracle code for a substantial subset of the Object-Z language. We describe the architecture of Warlock and its application to a number of Object-Z specifications. We also discuss its current limitations.

Identificador

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

Idioma(s)

eng

Publicador

IEEE Computer Society

Palavras-Chave #C++ language #Formal specification #Formal verification #Program testing #E1 #280302 Software Engineering #700199 Computer software and services not elsewhere classified
Tipo

Conference Paper