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
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
- Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
- Research on Automatic Generation of Test Case Based on Model
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
- Software Reliability Oriented Performance Test Model Research and Application
- The Study and Realization of the Android Tablet Stability Automated Test