Title :
Tool support for generating passive C++ test oracles from Object-Z specifications
Author :
McDonald, Janson ; Strooper, Paul ; Hoffman, D.
Author_Institution :
Sch. of Inf. Technol. & Electr. Eng., Queensland Univ., St. Lucia, Qld., Australia
Abstract :
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.
Keywords :
C++ language; formal specification; formal verification; program testing; software libraries; software prototyping; software tools; specification languages; Object-Z language; Object-Z specifications; Object-Z type checker; Warlock architecture; Warlock prototype tool; formal specifications; passive C++ test oracle generation; tool support; Software engineering; Software testing;
Conference_Titel :
Software Engineering Conference, 2003. Tenth Asia-Pacific
Print_ISBN :
0-7695-2011-1
DOI :
10.1109/APSEC.2003.1254386