Research and Implementation of the Methodology of Test Case Generation of the On-board Equipment Based on UML-XML

Author
JingZuoLin
Advisor
TangTao
School
Beijing Jiaotong University
Major
Traffic Information Engineering \u0026 Control
Classification
TP274 Data processing, data processing system
Degree
Master's thesis
Year
2011
Downloads
66
Citations
0

Request the full text

Abstract

The CTCS-3 (Chinese Train Control System, CTCS-3) train Control system, which accommodates fuctions CTCS-2, has been proposed to be used as the unified technique platform of the national railway for high-speed passenger line of 300km/h and above. Now, CTCS-3 with completely independent intellectual property rights is in research and technology of system development and testing is not fully mature. High-speed train control system with advanced, safe, reliable and efficient properties is a basic guarantee for the safe operation of trains, so it is highly recommended that we conduct functional testing, subsystem interoperability testing and performance evaluation of CTCS-3. The on-board equipment is a key subsystem of CTCS-3 and the study of its functional testing method, especially generating method of the test case, has a great significance to the development of CTCS-3.The method of automatic generation of test cases of the CTCS-3 on-board equipment was investigated in this paper as following:1) Foundations of UML (Unified Modeling Language) and XML (XML-based Metadata Interchange) were introduced. The systax and semantics of UML and the testable probabilitiy of UML model were presented. Then, the advantages of test cases documenting in XML and concepts of XML were discussed.2) A method of test case generation based on UML-XML was discussed. In order to establish a testable UML use case model, some modeling rules were defined. Based on these rules, the testable UML use case model and a test case model with formal definitions and generating algorithms of the test case model were proposed.3) The transformation rules between UML model and XML test case document based on XMI (XML-based Metadata Interchange) were discussed.4) A test case generating tool was implemented. The tool implemented the method proposed and offered the function to configurate input data and out data of the test case and export a XML test case document. The UML use case model of the function of train speed supervision was completed. Then the tool generated test cases for the model.The results show that test cases generated using the test case generating method proposed in this paper could cover all functions of the system under test, and it also could cover all scenarios during the execution ot the function.

Table of contents

Acknowledgements 5-6 Summary 6-7 ABSTRACT 7-11 1 review 11-17 1.1 Background 11 1.2 purpose and significance of 11-12 1.3 research status 12-15 1.3.1 Train Control System Test 12-13 1.3.2 model-based software testing methods 13-15 1.4 The main contents and structure 15-16 1.5 Summary 16-17 2 UML and XML 17-24 2.1 UML 2.0 17-19 2.1.1 UML view 17 2.1.2 Use Case diagram 17-18 2.1.3 Activity Diagram 18-19 2.2 UML model diagrams testability analysis 19-20 2.3 test case description method 20-23 2.3.1 XML-based test case description 20-21 2.3.2 XMI based on the UML to XML conversion 21-22 2.3.3 XML basic concepts 22-23 2.4 Summary 23-24 3 based on UML -XML test case generation method 24-36 3.1 test cases generation framework 24-25 3.2 can test model and test model 25 -31 3.2.1 testable UML modeling method 25-27 3.2.2 Use Case Model formal definition 27-29 3.2.3 Test formal definition of the use case model 29-30 3.2.4 model mapping 30-31 3.3 test model generation algorithm 31-35 <br / > 3.3.1 test coverage criteria 31 3.3.2 test object generation algorithm 31-32 3.3.3 test scenario generation algorithm 32-33 3.3.4 test generation algorithm 33-35 3.4 Summary 35-36 4 XMI for UML-XML-based transformation rules 36-49 4.1 test case XML schema model 36-39 4.1.1 UML design XML schema 36 4.1.2 test case XML schema model 36-39 4.2 UML-XML conversion rules 39-48 4.2.1 XMI document analysis 39-45 4.2.2 model transformation rules 45-48 4.3 Chapter Summary 48-49 5 vehicle equipment test case generation to achieve 49-64 5.1 vehicle equipment requirements modeling 49-53 5.1.1-vehicle device function 49-51 5.1.2-board equipment functional model 51-53 5.2 test case generation software 53-60 5.2.1 test case generation tool 53-55 5.2.2 Use Case model 55-56 5.2. 3 Test Case Generation 56-59 5.2.4 test configuration 59-60 5.3 Analysis of test case generation 60-63 5.4 Summary 63-64 6 Summary and Outlook 64-66 6.1 thesis work summarizes 64 6.2 Research Prospects 64 - 66 References 66-68 Appendix A Abbreviations 68-70 bitmap index 70-72 Table Index 72-73 Author Biography 73-75 dissertation dataset 75

Related dissertations

  1. Research on Metadata and Information Model of Unconventional Emergent Event
    LiuLiLi ·Dalian University of Technology ·2012 ·Master's thesis
  2. Key Technology Research for Networking Automatic Test System
    GuWenZuo ·East China Normal University ·2013 ·Doctoral dissertation
  3. Research on Modeling and Verification Based on UPPAAL and Its Application to CTCS-3Train Control System
    WangChun ·Beijing Jiaotong University ·2012 ·Master's thesis
  4. Research and Practice on Test Method for High Speed Maglev On-board Equipment
    WuJianWei ·Beijing Jiaotong University ·2012 ·Master's thesis
  5. Research on the Testing Method of Safety Critical Software and Its Application in the Testing of CTCS-3On-board Equipment
    ZhouRong ·Beijing Jiaotong University ·2012 ·Master's thesis
  6. The Engineering Drawing Files Based on Web Information Management System Design and Implementation
  7. Simulation and Research of the On-board System of CTCS-3
    HuangShiMing ·Lanzhou Jiaotong University ·2012 ·Master's thesis
  8. Research on Key Problems of CTCS-3 On-board Equipment Test Platform
    LiWei ·Beijing Jiaotong University ·2009 ·Master's thesis
  9. Research on the Method and Tool of Test Sequence Generation for CTCS-3 On-board Equipment
    WangChaoZuo ·Beijing Jiaotong University ·2011 ·Master's thesis
  10. Modeling and Implementation of Train Movement Simulator in CTCS-3 On-board Equipment Testing Bench
    XiuGuiSheng ·Beijing Jiaotong University ·2011 ·Master's thesis
  11. Research of CTCS-3 On-Board Equipment Test Case Generation Based on U2TP
    DengChangZuo ·Beijing Jiaotong University ·2010 ·Master's thesis
  12. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  13. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  14. Design and Implementation of the XProc Processor Based on.NET
  15. Design and Implementation of the XML Document Processing System Based on Xproc
  16. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  17. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  18. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  19. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  20. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis