Abstract
This paper presents a framework for systematically animating specifications using testgraphs: directed graphs that partially model the specification being animated. Sequences for the animation are derived by traversing the test-graph. The framework provides a testgraph editor that allows users to edit testgraphs and supports automated testgraph traversal. Experience with the framework so far indicates that it can be used to effectively animate small to medium-sized specifications and that it can reveal a significant number of problems in these specifications.
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
O. Bosman and H. W. Schmidt. Object test coverage using finite state machines. In Proceedings of TOOLS Pacific’ 95, pages 171–178, Melbourne, Australia, 1995.
J. Callahan, Easterbrook. S., and T. Montgomery. Generating test oracles via model checking. TR NASA-IVV-98-015, NASA / West Virginia University Software Research Laboratory, 1998.
D. Carrington, I. MacColl, J. McDonald, L. Murray, and P. Strooper. From Object-Z specifications to Classbench test suites. Journal on Software Testing, Verification and Reliability, 10(2): 111–137, 2000.
J. Dick and A. Faivre. Automating the generation and sequencing of test cases from model-based specifications. In Formal Methods Europe (FME’93), pages 268–284, 1993.
D. Hazel, P. Strooper, and O. Traynor. Possum: An animator for the Sum specification language. In Proc. Asia-Pacific Soft. Eng. Conf. and Int. Comp. Sci. Conf., pages 42–51. IEEE Computer Society, 1997.
D. Hazel, P. Strooper, and O. Traynor. Requirements engineering and verification using specification animation. In Proc. 13th IEEE Int. Conf. on Automated Soft. Eng., pages 302–305. IEEE Computer Society, 1998.
C. Heitmeyer, J. Kirby, B. Labaw, and R. Bharadwaj. SCR*: A toolset for specifying and analysing software requirements. In Comp-Aided Verif 10th Annual Conf, 1998.
M. Hewitt, C. O’Halloran, and C. Sennett. Experiences with PiZA, an animator for Z. In ZUM’97: The Z Formal Specification Notation, volume 1212 of LNCS, pages 37–51, 1996.
D. M. Hoffman and P. A. Strooper. ClassBench: A methodology and framework for automated class testing. In D. C. Kung, P. Hsia, and J. Gao, editors, Testing Object-Oriented Software, pages 152–176. IEEE Computer Society, 1998.
IFAD. Features of VDM tools. http://www.ifad.dk/products/vdmtools/features.htm.
E. Kazmierczak, P. Kearney, O. Traynor, and L. Wang. A modular extension to Z for specification, reasoning and refinement. TR 95-15, SVRC, University of Queensland, Australia, February 1995.
E. Kazmierczak, M. Winikoff, and P. Dart. Verifying model oriented specifications through animation. In Proc. Asia-Pacific Soft. Eng. Conf., pages 254–261, 1998.
T. Miller and P. Strooper. Animation can show only the presence of errors, never their absence. In Proc. Aust. Soft. Eng. Conf(ASWEC 2001). Aust. Comp. Soc., 2001.
T. Miller and P. Strooper. Model-based specification animation using testgraphs. TR 02-15, SVRC, The University of Queensland, Australia, 2002. http://www.svrc.uq.edu.au/Publications/2002/svrc2002-015.html.
L. Murray, D. Carrington, I. MacColl, J. McDonald, and P. Strooper. Formal derivation of finite state machines for class testing. In ZUM’98: The Z Formal Specification Notation, volume 1493 of LNCS, pages 42–59. Springer Verlag, 1998.
P. Stocks and D. Carrington. A framework for specification-based testing. IEEE Transactions on Soft. Eng., 22(11):777–793, 1996.
H. Treharne, B. Ormsby, J. Draper, and T. Boyce. Evaluating the B-Method on an avionics example. In Proc. DASIA Conference, pages 89–97, 1996.
H. Waeselynck and S. Behnia. B-Model animation for external verification. In Proc. Conf. for Formal Eng. Methods. IEEE Computer Society, 1998.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Miller, T., Strooper, P. (2002). Model-Based Specification Animation Using Testgraphs. In: George, C., Miao, H. (eds) Formal Methods and Software Engineering. ICFEM 2002. Lecture Notes in Computer Science, vol 2495. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36103-0_21
Download citation
DOI: https://doi.org/10.1007/3-540-36103-0_21
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00029-7
Online ISBN: 978-3-540-36103-9
eBook Packages: Springer Book Archive