Skip to main content

Supporting Tool for Automatic Specification-Based Test Case Generation

  • Conference paper
Structured Object-Oriented Formal Language and Method (SOFL 2012)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7787))

  • 530 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Liu, S.: Formal Engineering for Industrial Software Development Using the SOFL Method. Springer (2004) ISBN 3-540-20602-7

    Google Scholar 

  2. 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)

    Chapter  Google Scholar 

  3. 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)

    Google Scholar 

  4. Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann (2007)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. Khurshid, S., Marinov, D.: TestEra: Specication-based Testing of Java Programs using SAT. Automated Software Engineering 11(4) (2004)

    Google Scholar 

  7. Burton, S.: Automated Testing from Z Specifications, TR YCS-2000-329, University of York, UK (2000)

    Google Scholar 

  8. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics