Based on UML collaboration diagram of the test sequence generation method
- Author
- ChenJiaJia
- Advisor
- ChenZhongYu
- School
- Zhejiang Normal University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 68
- Citations
- 2
Abstract
As software continues to expand, increasing the chance of software errors generated large. Software development process is one important issue to consider is how to detect errors as early as possible in order to achieve the effect of reducing costs. Therefore, software testing in software development process plays an important role. It runs through the entire software development process. In the software testing process, the test sequence generation design is very important, and it is in software requirements and software design as the main criteria. Currently, hand selected test cases makes the high cost of software testing, automated test sequence generation method therefore research on great significance. With the adoption of the OMG UML as object-oriented analysis and design standard modeling language, UML is widely used and promoted. Many large systems are described using UML as the language requirements analysis and design. This paper presents a UML collaboration diagram of the test sequence generation method that uses UML collaboration diagram describes the structural relationships between objects and their interactions, and by UML collaboration diagram UML collaboration diagram from a finite state machine transition to using Wp method generate test sequences Wp way through CPP technology to optimize and generate a shorter test sequence. The main thesis work includes the following aspects: 1, introduced the software testing research background and significance, an analysis of the topic in the research status and key issues. 2, on the Unified Modeling Language (UML) made a brief introduction, which focuses on the UML collaboration diagram of messages and definitions. 3 introduces the formal definition of finite state machines and finite state machine-based test, also introduced a new thesis presents the UML collaboration diagram into a finite state machine algorithm. 4, the author introduces the preliminary data analysis through research, Wp-based method to generate test sequences based on the use of CPP algorithm optimized to obtain a shorter test sequence. The main contribution of this paper is reflected in the following aspects: 1, the algorithm will design a UML collaboration diagram into a finite state machine. Because state machine-based test sequence generation method is to test sequence generation methods of priorities. State machine test focuses on the dynamic behavior of the object can be detected errors generated when interacting with objects, so the first UML collaboration diagram into FSM, is behind the automatic generation of test sequences paving. 2, CPP question for further research, combined with Euler circuit for CPP issues discussed in two steps, and gives a detailed algorithm. 3, this paper combines Wp Methods CPP test sequence optimization method to generate a shorter test sequence.
Table of contents
Abstract 3-5
ABSTRACT 5-7
directory 7-9
Chapter 1 Introduction 9-13 <br / > 1.1 Background 9-10
1.2 significance 10
1.3 research status and key issues 10-12
1.3.1 domestic outer research 10-11
1.3.2 main problem 11-12
1.4 the paper is organized 12-13
Chapter 2, of the Statute Description language UML 13-17
2.1 unified Modeling language (UML) Profile 13-14
2.2 UML collaboration diagram 14-16
2.2.1 collaboration diagram message 14-15
2.2.2 definition of collaboration diagram 15-16
2.3 Chapter Summary 16-17
3 Zhang from the UML collaboration diagram to finite state machine transition 17-22
3.1 in the form of a finite state machine defined 17-19
3.2 UML collaboration diagram generated from a finite state machine 19-21
3.3 Chapter Summary 21-22
Chapter 4 test sequences based on FSM automatically generated 22-29
4.1 Wp method used to generate test sequence 22-24
4.2 Wp optimization method to generate a shorter test sequence 24-28
4.2.1 Chinese postman problem and algorithm 25-27 <br / > 4.2.2 Wp with CPP method optimization method to generate a shorter test sequence 27-28
4.3 Chapter Summary 28-29
Chapter 5 Summary and Outlook 29-31
5.1 Summary 29
5.2 Prospects 29-31
References 31-34
Annex A method of optimizing Wp algorithm 34-49
pursue a degree obtained during the research 49-50
Thanks 50-52
Related dissertations
- The Test Sequences Generation Method Based on UML Collaboration Figure
- Research on Script-driven Based RBC Functional Testing Method
- The Study to the Method of Test Cases and Test Sequence’s Generation Based on the RBC Test Platform
- Research on the Expert System for Generation of Test Sequence for CTCS-3Train Control System
- The Research of State-based Class Testing Technology
- DESIGN AND IMPLEMENTATION OF THE AUXILIARY TEST SEQUENCE AUTOMATIC GENERATION SYSTEM
- Research on Test Sequence Generation Method of Track Circuit Reader
- Modeling and Verification of Simulation Test Manager of Train Control System Based on O-MaSE
- Research on Component Security Testing Theories and Technologies Based on Fault Injection
- Available bandwidth measurement algorithm research initiative
- Research on the Test Methodology of CTCS3 Onboard Equipment
- Research on the Test Platform of CTCS3 Onboard Equipment
- Research on Key Problems of CBTC Test Platform
- Research and Application of Class Integration Testing Strategy Based on Test Order
- Design and Realization of the Auto Test Mode of TD-SCDMA Wireless Communication Test Set
- An Approach to Test Concurrent Software Based on UML
- Bluetooth protocol conformance and interoperability testing
- Protocol Test Sequence Generation Based on Formal Specification
- Object-Oriented Software Testing Techniques
- Routing protocol conformance testing