Research & Implementation of Test Method Based on UML Sequence Diagram

Author
WangJiLi
Advisor
HuangZhiQiu
School
Nanjing University of Aeronautics and Astronautics
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
292
Citations
2

Request the full text

Abstract

With the development of information technology , software, expanding to become one of the most concern of software engineering is how to ensure and improve software quality . Software testing can effectively find software defects and failures, is the key to ensuring the quality of software technology . With the widespread use of the UML model , based on the UML model of software testing more and more attention . Polymorphism test based on the UML sequence diagram test case generation methods and procedures conducted in-depth research . UML sequence diagram focuses on graphical way to show the interactions between objects , generate test cases directly from UML sequence diagram is not convenient , needs to be converted into an equivalent form of generated test case on this basis . Firstly, for the original constraints in IRCFG ( function control flow graph ) the the model no combination of class diagrams , as well as lack of polymorphism can not test procedure , proposed PCIRCFG ( between the function of the the polymorphism expansion combined with class information constraints control flow Graph ) model , and a formal description . The proposed three test coverage criteria apply to PCIRCFG , depending on PCIRCFG and coverage criteria to generate test cases . Then the design and implementation of test cases automatically generate a UML sequence diagram based tools . This paper presents the main structure of tools , and focuses on the key technologies involved in the process of design and implementation of the various functional modules include the the XMI Schema definition tools , data file of the UML model to XMI the conversion , PCIRCFG model data structure defined and constructed algorithm , the completely PCIRCFG path coverage criteria corresponding test cases automatically generated algorithm realization . Finally, through the example of beverage sales system illustrates the validity based on UML sequence diagram test method .

Table of contents

Abstract 4-5 ABSTRACT 5-9 first chapter 9-12 the 1.1 research background and significance 9 1.2 Current research status quo 9-11 1.2.1 software test 9-10 1.2.2 UML-based test 10-11 1.3 thesis research content 11-12 model-based software testing 12-23 2.1 Overview of the model-based software testing 12-13 2.2 software test model 13-15 2.2.1 software test model abstract principles 13-14 2.2.2 typical software testing model 14-15 2.3 model-based software testing process 15-18 2.3.1 analytical understanding of the software under test 16 2.3.2 select appropriate test model 16-17 2.3.3 construct test model 17 2.3.4 generate and execute test cases 17-18 2.3.5 collect test results analyzed 18 2.3.6 test defect management 18 2.4 based on the strengths and weaknesses of the model of software testing 18-19 2.4.1 model-based software testing advantages 18 2.4.2 disadvantage of model-based software testing 18-19 2.5 UML model and software testing 19-22 2.5.1 the UML Profile 19-20 2.5.2 commonly used UML graphical test 20-21 2.5.3 UML model advantage in the software testing 21-22 2.6 This chapter Summary 22-23 Chapter PCIRCFG UML sequence diagram test methods 23-37 3.1 IRCFG 23-25 3.2 polymorphism test 25-27 330 polymorphic information represented 27-28 3.3.1 classifier group 27-28 3.3.2 polymorphic methods class set 28 3.4 PCIRCFG 28-31 3.4.1 CIRCFG defined 28-29 the polymorphism expansion 3.4.2 CIRCFG 29-31 3.5 PCIRCFG test coverage criteria 31-36 3.5.1 the completely PCIRCFG path coverage criteria and its improved 32-33 3.5.2 RCFG is recommended path coverage criteria and its improved 33-35 3.5.3 RCFG criteria for branch coverage improvement 35-36 3.5.4 three kinds of coverage criteria of inclusion relations 36 3.6 This chapter Summary 36-37 Chapter test case generation tool automatically design 37-50 4.1 TCAGT the architecture 37-38 4.2 UML model transformation module 38-42 4.2.1 XMI About The 38-39 4.2.2 model file to XMI conversion 39-40 defined in 4.2.3 TCAGT of XMI Schema 40-42 4.3 PCIRCFG model generation module 42-47 4.3.1 XMI file read 42-43 of 4.3.2 PCIRCFG the data structure 43-44 4.3.3 PCIRCFG tectonic processes and algorithms to achieve 44-47 4.4 test case generation module 47-49 4.5 of this chapter Summary 49-50 instance verify 50-57 5.1 beverage vending machine system 50-51 5.2 PCIRCFG constructor 51-55 5.3 test cases generated 55-56 5.4 This chapter Summary 56-57 Chapter VI Conclusion 57-58 6.1 of this paper mainly work 57 6.2 further work 57-58 the References 58-61 Acknowledgements 61-62 research during the study period 62-63 Appendix 63-77

Related dissertations

  1. Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
    SongJianSheng ·Jiangnan University ·2012 ·Master's thesis
  2. Research on Automatic Generation of Test Case Based on Model
    ZhangMiao ·Jilin University ·2013 ·Master's thesis
  3. And the realization of software testing reuse management subsystem design
  4. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  5. Research on software testing technology based on complex network theory
  6. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  7. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  8. Research of Software Testing Method Based on Cloud Computing
  9. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  10. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  11. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  12. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  13. The Design and Implementation of Banking Software Testing Based on Bugfree
  14. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  15. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  16. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  17. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
  18. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  19. Software Reliability Oriented Performance Test Model Research and Application
  20. The Study and Realization of the Android Tablet Stability Automated Test
    ZhouYing ·Central China Normal University ·2014 ·Master's thesis