Abstract
Automatic test case generation is a potentially effective technique for program testing, but it still suffers from the lack of appropriate tool support. Our research presented in this paper mainly focuses on the developing of a tool for automatic test case generation based on formal specifications. We take advantage of the Liu’s decompositional test case generation method and put forward a set of algorithms for automatically generating test cases based on various data types. A supporting tool on the application of the approaches is presented. The tool can generate test cases according to the users’ given test conditions, and the result shows that our tool can produce test cases that satisfy most kinds of test conditions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Liu, S.: Formal Engineering for Industrial Software Development Using the SOFL Method. Springer (2004) ISBN 3-540-20602-7
Gaudel, M.-C., Le Gall, P.: Testing Data Types Implementations from Algebraic Specifications. In: Hierons, R.M., Bowen, J.P., Harman, M. (eds.) Formal Methods and Testing. LNCS, vol. 4949, pp. 209–239. Springer, Heidelberg (2008)
Bandyopadhyay, A., Ghosh, S.: Test Input Generation using UML Sequence and State Machines Models. In: Proceedings of 2nd International Conference on Software Testing, Verification, and Validation (ICST), Denver, USA, April 1-4, pp. 121–130. IEEE CS Press (2009)
Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann (2007)
Liu, S., Nakajima, S.: Decompositional test case generation based-on specification. In: 2010 Fourth International Conference on Secure Software Integration and Reliability Improvement, June 09-11 (2010)
Khurshid, S., Marinov, D.: TestEra: Specication-based Testing of Java Programs using SAT. Automated Software Engineering 11(4) (2004)
Burton, S.: Automated Testing from Z Specifications, TR YCS-2000-329, University of York, UK (2000)
Liu, S., Hayashi, T., Takahashi, K., Kimura, K., Nakayama, T., Nakajima, S.: Automatic Transformation from Formal Specifications to Functional Scenario Forms for Automatic Test Case Generation. In: 9th International Conference on Software Methodologies, Tools, and Techniques, Yokohama, Japan, September 29-October 1, pp. 383–397. IOS Press (2010)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Zhang, W., Liu, S. (2013). Supporting Tool for Automatic Specification-Based Test Case Generation. In: Liu, S. (eds) Structured Object-Oriented Formal Language and Method. SOFL 2012. Lecture Notes in Computer Science, vol 7787. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39277-1_2
Download citation
DOI: https://doi.org/10.1007/978-3-642-39277-1_2
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-39276-4
Online ISBN: 978-3-642-39277-1
eBook Packages: Computer ScienceComputer Science (R0)