Abstract
We propose a simple framework for validation unit testing of Z specifications, and illustrate this framework by testing the first few levels of a POSIX specification. The tests are written in standard Z, and are executable by the CZT animator, ZLive.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bicarregui, J.C., Hoare, C.A.R., Woodcock, J.C.P.: The verified software repository: a step towards the verifying compiler. Formal Aspects of Computing 18(2), 143–151 (2006)
Carrington, D.A., Stocks, P.: A tale of two paradigms: formal methods and software testing. In: Proceedings of the 8th Z User Meeting (ZUM 1994), June 1994, pp. 51–68. Springer, Heidelberg (1994)
Community Z tools, http://czt.sourceforge.net
Freitas, L., Fu, Z., Woodcock, J.: POSIX file store in Z/EVES: an experiment in the verified software repository. In: ICECCS 2007: Proceedings of the 12th IEEE International Conference on Engineering Complex Computer Systems, pp. 3–14. IEEE Computer Society, Los Alamitos (2007)
Hierons, R.: Testing from a Z specification. Software Testing, Verification & Reliability 7, 19–33 (1997)
Hoare, T.: The verifying compiler: A grand challenge for computing research. Journal of the ACM 50(1), 63–69 (2003)
Joshi, R., Holzmann, G.J.: A mini challenge: build a verifiable file system. Formal Aspects of Computing 19(2), 269–272 (2007)
Kazmierczak, E., Winikoff, M., Dart, P.: Verifying model oriented specifications through animation. In: Proceedings of the 5th Asia-Pacific Software Engineering Conference, pp. 254–261. IEEE Computer Society Press, Los Alamitos (December 1998)
Leuschel, M., Butler, M.: ProB: An Automated Analysis Toolset for the B Method. Journal Software Tools for Technology Transfer (page accepted for publication, 2008)
Morgan, C., Sufrin, B.: Specification of the UNIX filing system. IEEE Transactions on Software Engineering (1984)
Stocks, P.: Applying Formal Methods to Software Testing. PhD thesis, The University of Queensland (1993), http://www.bond.edu.au/it/staff/publications/PhilS-pubs.htm
Utting, M., Malik, P.: Transforming Z with rules. In: ZUM 2007 at ICECCS 2007 in conjunction with FMinNZ 2007, Auckland (July 2007)
Utting, M.: Data structures for Z testing tools. In: Schellhorn, G., Reif, W. (eds.) FM-TOOLS 2000, 4th Workshop on Tools for System Design and Verification, vol. 2000-07, pp. 2000–2007. Ulmer Informatik Berichte (May 2000)
Winikoff, M.: Analysing modes and subtypes in Z specifications. Technical Report 98/2, Melbourne University (1998)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Utting, M., Malik, P. (2008). Unit Testing of Z Specifications. In: Börger, E., Butler, M., Bowen, J.P., Boca, P. (eds) Abstract State Machines, B and Z. ABZ 2008. Lecture Notes in Computer Science, vol 5238. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-87603-8_24
Download citation
DOI: https://doi.org/10.1007/978-3-540-87603-8_24
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-87602-1
Online ISBN: 978-3-540-87603-8
eBook Packages: Computer ScienceComputer Science (R0)