Tenth Asia-Pacific Software Engineering Conference, 2003.
Download PDF

Abstract

A test oracel 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. In this paper, we describe the "Warlock" prototype tool that supports the method. Warlock is built on top on 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.
Like what you’re reading?
Already a member?
Get this article FREE with a new membership!

Related Articles