This paper describes the translation of Object-Z specifications of container classes to C++ test oracle classes. It presents a three-stage translation process and describes how the derived test oracles are integrated into the ClassBench testing framework. The method caters for object-oriented features such as inheritance and aggregation. Translation issues and limitations of the method are discussed. Our approach is illustrated with an example based on an integer set class.
Citation:
Jason McDonald, Leesa Murray, Paul Strooper, "Translating Object-Z Specifications to Object-Oriented Test Oracles," apsec, pp.414, Fourth Asia-Pacific Software Engineering and International Computer Science Conference (APSEC'97 / ICSC'97), 1997