Abstract
The Classification Tree Method provides a flexible basis for systematic testing. Traditionally the generation of a classification tree has been entirely manual. This paper introduces a new approach that extracts predicates from the Z specification of an operation and builds a Classification Tree from these predicates. It thus shows how the generation of a Classification Tree may be semi-automated on the basis of a Z specification. The paper also defines the notion of the test context of a predicate that determines when the value of this predicate is relevant. The test context is used to reduce the number of tests produced from the Classification Tree.
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
N. Amla and P. Ammann. Using Z specifications in category partition testing. In COMPASS’ 92, Seventh Annual Conference on Computer Assurance, pages 15–18, Gaithersburg, MD, USA, 1992.
T. Y. Chen and P. L. Poon. Construction of classification trees via the classification-hierarchy table. Information and Software Technology, 39:889–896, 1997.
T. Y. Chen and P. L. Poon. On the effectiveness of classification trees for test case construction. Information and Software Technology, 40:765–775, 1998.
J. Derrick and E. Boiten. Testing refinements of state-based formal specifications. Journal of Software Testing, Verification, and Reliability, 9:27–50, 1999.
J. Dick and A. Faivre. Automating the generation and sequencing of test cases from model-based specifications. In FME’ 93, First International Symposium on Formal Methods in Europe, pages 268–284, Odense, Denmark, 19–23 April 1993. Springer-Verlag, Lecture Notes in Computer Science 670.
M. C. Gaudel. Testing can be formal too. In TAPSOFT’95, pages 82–96. Springer-Verlag, March 1995.
M. Grochtmann and K. Grimm. Classification trees for partition testing. Journal of Software Testing, Verification and Reliability, 3:63–82, 1993.
P. A. V. Hall and R. M. Hierons. Formal Methods and Testing. Technical Report 91/16, Computing Department, The Open University, August 1991.
R. M. Hierons. Testing from a Z specification. Journal of Software Testing, Verification and Reliability, 7:19–33, 1997.
R. M. Hierons and M. Harman. Testing comformance to a quasi-non-determinstic stream X-machine. Formal Aspects of Computing, 12:423–442, 2000.
R. M. Hierons, S. Sadeghipour, and H. Singh. Testing a system specified using statecharts and Z. Information and Software Technology, 43:137–149, 2001.
R. M. Hierons and H. Ural. Reduced length checking sequences. IEEE Transactions on Computers, 51: 1111–1117, 2002.
C. A. R. Hoare. How did software get so reliable without proof? In Proceedings of Formal Methods Europe, 96 (Lecture Notes in Computer Science 1051), pages 1–17. Springer-Verlag, 1996.
M. Holcombe and F. Ipate. Correct Systems: Building a Business Process Solution. Springer-Verlag, 1998.
G. Laycock. Formal specification and testing: A case study. Journal of Software Testing, Verification and Reliability, 2:7–23, 1992.
D. Lee and M. Yannakakis. Principles and methods of testing finite-state machines. Proceedings of the IEEE, 84:1089–1123, 1996.
H. Singh, M. Conrad, and S. Sadeghipour. Test case design based on Z and the classification-tree method. In First IEEE Conference on Formal Engineering Methods, pages 81–90, Hiroshima, Japan, November 1997. IEEE Computer Society.
P. Stocks and D. Carrington. A Framework for Specification-Based Testing. IEEE Transactions on Software Engineering, 2:777–793, 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hierons, R.M., Harman, M., Singh, H. (2003). Automatically Generating Information from a Z Specification to Support the Classification Tree Method. In: Bert, D., Bowen, J.P., King, S., Waldén, M. (eds) ZB 2003: Formal Specification and Development in Z and B. ZB 2003. Lecture Notes in Computer Science, vol 2651. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44880-2_23
Download citation
DOI: https://doi.org/10.1007/3-540-44880-2_23
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40253-4
Online ISBN: 978-3-540-44880-8
eBook Packages: Springer Book Archive