Skip to main content

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 212))

Abstract

An automated approach to generate a full set of the test cases is proposed in this paper. The all paths covered optimal algorithm (APCO) for automatically generating test cases based on the CPN model are presented. Taking the scenario of radio blocking center (RBC) handover as an example, the presented method is employed to generate the test cases of this scenario. The results indicate that the test generation approach is fully automatic. Furthermore, the repeatability rate of the generated test cases was reduced compared with the available depth-first search algorithm (DFS), the test cases all the related criterions in “System requirements specification of the CTCS-3 Train Control System” (SRS).

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kaynar DK, LynchN, Segala R (2003) Timed I/O automata: a mathematical framework for modeling and analyzing real-time systems. In: 24th IEEE Int’l real-time system symposium, IEEE Computer Society, Washington, pp 166–177

    Google Scholar 

  2. Bahrmann G, Larsen K G, Moiler O (2001) UPPAAL-present and future. In: 40th IEEE conference on decision and control. pp 2881–2886

    Google Scholar 

  3. Hessel A, Pettersson P (2004) A test case generation algorithm for real-time systems. In: 4th international conference on quality software. pp 268–273

    Google Scholar 

  4. Samuel P, Joseph AT (2008) Test sequence generation from UML sequence diagrams. In: 9th ACIS international conference on software engineering, artificial intelligence, networking, and parallel/distributed computing. pp 879–887

    Google Scholar 

  5. Malik QA, Truscan D, Lilius J (2010) Using UML models and formal verification in model-based testing. In: 17th IEEE international conference and workshops on engineering of computer based systems (ECBS). pp 50–56

    Google Scholar 

  6. Utting M, Legeard B (2006) Practical model-based testing: a tools approach. Morgan Kaufmann, Elsevier, America

    Google Scholar 

  7. Fujiwara S, Bochmarm GV (1991) Test selection based on finite state models. In: IEEE Trans Software Eng 17(6):591–603

    Article  Google Scholar 

  8. Watanabe H, Kudoh T (1995) Test suite generation methods for concurrent systems based on colored petri nets. IEEE Software Engineering Conference. pp 242–251

    Google Scholar 

  9. Vernez D, Buchs D, Pierrehumbert G (2003) Perspectives in the use of colored petri nets for risk analysis and accident modeling. Saf Sci 41(5):445–463

    Article  Google Scholar 

  10. Lee JH, Lee JD, Jung JI (2007) Verification and conformance test generation of communication protocol for railway signaling systems. Comput Stand Interfaces 29(2):143–151

    Article  MathSciNet  Google Scholar 

  11. Jensen K (1994) An introduction to the theoretical aspects of coloured petri nets. A decade of concurrency reflections and perspectives. Lecture notes in computer science, vol 803. Springer, Berlin, pp 230–272

    Google Scholar 

  12. Badban B, Franzle M, Teige T (2006) Test Automation for hybrid systems. In: 3rd international workshop on software quality assurance, pp 14–21

    Google Scholar 

  13. Shaffer CA (2011) Data structures and algorithm analysis in C++, 3rd edn. Dover Publications, New York, pp 390–394

    Google Scholar 

  14. The Science and Technology Division of the Ministry of Railways and The Transport Bureau of The Ministry of Railways (2008) System requirements specification of the CTCS-3 train control system (v 1.0). The Ministry of Railways of The People’s Republic of China, China Railway Publishing House, Beijing, No. 127 (in Chinese)

    Google Scholar 

  15. The Science and Technology Division of the Ministry of Railways and The Transport Bureau of The Ministry of Railways (2009) Test cases of the CTCS-3 train control system. The Ministry of Railways of The People’s Republic of China, China Railway Publishing House, Beijing, No. 59 (in Chinese)

    Google Scholar 

Download references

Acknowledgments

This paper is supported by the “National High Technology Research and Development Program of China (863 Program)” (2011AA010104), “the Fundamental Research Funds for the Central Universities” (2011JB2004) and “Urban Rail Transit Automation and Control the Beijing Key Laboratory Fund Project”.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ci Liang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Liang, C., Zheng, W. (2013). Automated Generation of Test Cases Based on Path Optimization Algorithm. In: Lu, W., Cai, G., Liu, W., Xing, W. (eds) Proceedings of the 2012 International Conference on Information Technology and Software Engineering. Lecture Notes in Electrical Engineering, vol 212. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-34531-9_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-34531-9_22

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-34530-2

  • Online ISBN: 978-3-642-34531-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics