Research on Test Case Generation of Object-oriented Based on Model
- Author
- ChenZhiDe
- Advisor
- ZengFanPing
- School
- University of Science and Technology of China
- Major
- Computer Applications
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 175
- Citations
- 2
Abstract
With the application of computer software into all aspects of life, especially in key areas related to the national economy more and more people have higher requirements on the quality and reliability of the software. Software testing as an important means to safeguard the quality and reliability of software, and has been subject to people's attention. Object-oriented software development technology is currently the mainstream of software development technology, object-oriented software testing technology has become the focus of current research. Because there are a lot of differences in the development of object-oriented technology with traditional software development techniques, object-oriented software testing must absorb the traditional testing methods and propose a new test method. This article first briefly knowledge of software testing, including three commonly used model of the software testing process model, software testing four different classification. Second test basic knowledge application in this article. Primarily describes the software testing technology and features, as well as the impact of these characteristics of software testing. Also describes the basic process and the advantages and disadvantages of the model-based testing, including model-based testing. Finally, also describes the UML model used in this article, LTS model, Petri net model and the EFSM model. Based on the above analysis, we propose two model-based test case generation method. (1) The first method is based on the UML model and LTS model test case generation. The method introduces UML state diagram modeling the rules, the proposed conversion of UML state diagram LTS conversion rules and path generation process. Finally, an example of the effectiveness of the method. The main process of this method is to first create a UML model from the source, UML state diagrams into LTS model by UML model to the LTS model transformation rules, then convert the path generated by path conversion processes generate sequence, and finally through the path of transformational generative test test cases and procedures. The advantage of this method is simple and effective. (2) The second method is based on the UML model and the Petri net model test case generation. The nature of the reachability of Petri nets, weak activity and coverage, reachable marking graph reachability tree analysis tool for the analysis of UML state diagram. Finally, an example to illustrate the effectiveness of the method. The main process of this method is the first to use UML state diagram to build software models the conversion sequence through the the EFSM model generated path, then UML model to model transformation rules of Petri nets, UML state diagrams into Petri nets, Petri nets conversion path for analysis. The analysis methods through of Petri nets rigorous mathematical tools to eliminate the UML state diagram and EFSM model to generate test cases has shortcomings.
Table of contents
Summary 4-5
Abstract 5-7
directory 7-9
Figure directories 9-10
table directory 10-11
Chapter 1 Introduction 11-23
1.1 Background and research significance 11-12
1.2 Software Testing Research 12-20
1.2.1 software test process model 12-14
1.2.2 software testing classification 14-20
1.3 content 20
1.4 This paper is organized 20
1.5 Chapter Summary the analysis 20-23
Chapter 2 Software Testing 23-36
2.1 object-oriented testing technology 23-26
2.1.1 Introduction to object-oriented technology are found; 23-24
2.1.2 features of object-oriented programming software testing impact 24-26
2.2 Model-based testing 26-29
2.2.1 Introduction to test model 26-28
2.2.2 based The basic process of model test 28-29
2.2.3 based on the test the strengths and weaknesses of the model are found; 29
2.3 UML model 29-32
2.3 .1 UML Overview 30
2.3.2 UML conceptual model 30-31
2.3.3 UML state diagram 31-32
2.4 domestic the outer Research 32-33
2.5 Chapter Summary 33-36
Chapter 3 test cases generated based on the UML model and LTS model 36-51
3.1 LTS model the overall framework 36-37 3.2 test case generation
37-38
3.3 coverage criteria 38-39
3.4 Related Research 39
3.5 generated UML model and LTS model-based test case 39-50
3.5.1 UML state diagram modeling 39-42 <br / > 3.5.2 UML state diagram to the LTS model transformation rules are found; the 42-44
3.5.3 path transformational generative process 44-47
3.5.4 Test Case Generation 47-50
3.6 Chapter Summary 50-51
Chapter 4 generated test cases based on UML models and Petri nets model 51-66
4.1 on EFSM model 51
4.2 the Perti network model 51-53
4.3 Related Research 53
test case generation 4.4 overall framework 53-56
4.5 test cases generated 56-58
4.6 based on the nature of the Petri net analysis 58-62
4.7 generation and analysis of test cases based on Petri nets model 62-63
4.8 Experimental results and analysis 63-64
4.9 Chapter Summary 64-66
Chapter 5 summarizes 66-68
5.1 Full Summary the 5.2 further study of 66
Looking 66-68
Acknowledgements 68-69
master's degree during the Papers 69-70
Reference 70-73
Related dissertations
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- Analysis and design of student information management system
- The Design and Realization of the Financial Approval System
- The Design and Implementation of Member Management System for Technical Title Evaluation Committee of WeiFang City
- The Analysis and Implementation of Laboratory Equipment Management System Based on WEB of Zhangjiakou Education College
- Model-based GUI Test Case Generation
- Object-Oriented Software Testing Method and Application in Composite Explosives Detection System
- County-Township-Village Operation Management Information System for the Rural Work Base on C/S Architecture
- The Design and Implementation of an Network Teaching Platform in a Vocational Technical College
- Research on Automatic of Software Testing Based on Models
- Air Disinfector Design Based on Rhapsody
- Research on Test Case for Automatic Order System Based on Uml
- Digital Voice Teaching System Design and Implementation of Object-Oriented Programming
- Study and Application of Distance Education Platform Based on UML
- Catering Management System Design and Implementation Based on WEB
- Based on the Web Army Personnel Information Management System Design and Implementation
- The Research on Agent-based Testing Framework and Testing Approach for Web Applications
- Study on the Techniques for Testing Client/Server Software System
- Object - oriented software testing research
- Study of the Theory and Techniques for Testing Object-Oriented Software