UML-based model of cluster -level test case generation method
- Author
- KangWei
- Advisor
- LiuWeiGuo
- School
- Central South University
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 71
- Citations
- 1
Abstract
Software testing is an important part of Software Engineering. With the development of software, software testing becomes more and more important. Design of test cases is the most important thing in the software testing. Test cases are the base safeguard of software quality. With the broadly use of the object oriented developing method, the object oriented software testing is getting more attention. The object oriented software features, such as encapsulation, inheritance, polymorphism and dynamic banding, makes the software testing more difficult than the traditional software testing.This paper bases on analyzed the object oriented software test method of cluster-level, and this paper presents an approach to automatic cluster-level test cases generation for object oriented software. The proposed method takes UML sequence diagram as basis of test cases generation, first, this paper presents an algorithm of generate the statecharts automatically from a single scenario. Each object’s statecharts are generate by traversal all of the events. Then the incomplete statecharts are merge into an integrated one according to the series of rules defined by the relations among the scenarios. Then the single object’s statecharts are merge into a system’s statecharts which contains all objects by define synchronization restraint. In the end, the test path are obtain according to the system’s state diagram using the chart traversal’s algorithm, each test path is a test case of the integration testing.This method bases on UML. The generated test cases can fulfill adequately coverage requirement, and the algorithm are simple and efficient. This method realize automation of software testing. At last, a tool is developed for generating integration test cases base on this method. After this, an example is specialized in how the tool is used. It proved to be feasible.
Table of contents
Abstract 3-4
ABSTRACT 4-7
first chapter 7-12
1.1 topics of the background and significance 7-8
1.2 research status 8-10
1.3 this work 10-11
1.4 this paper is organized 11-12 < br /> the second chapter of object-oriented software testing 12-19
2.1 object-oriented technology features 12-13
2.1.1 package 12-13
2.1.2 inheritance 13
2.1.3 polymorphism 13
2.2 characteristics of object-oriented technology and the impact on the test 13 - 16
2.2.1 package for testing the impact of 14
2.2.2 inherited influence on the test 14-15
2.2.3 polymorphism influence on the test 15
2.2.4 for integration testing of 15-16
2.3 object-oriented software testing division level and content 16-17
2.3.1 method Test 16
2.3.2 class Testing 16-17
2.3.3 integration testing 17
2.3.4 system test 17
2.4 object-oriented software testing and traditional testing techniques distinction 17-18
2.5 Summary 18-19
the third chapter is based on multi- scenario state diagrams automatically generated 19-38
3.1 state diagram generated from a single scene 19-28
3.1.1 UML sequence diagrams and scene 19-22 <br / > 3.1.2 scene division 22-23
3.1.3 state diagram 23-24
3.1.4 single scene state graph generation algorithm 24 - 28
3.2 merge multiple scenes state diagram 28-34
3.2.1 relationship between scenes 28-30
3.3.2 state Diagram consolidation rules 30-34
3.3 system state graph generation 34-37
3.3.1 combined state and synchronization constraints 34-35
3.3.2 system state diagram merge algorithm 35-37
3.4 Summary 37-38
Chapter integrated test case generation system design and implementation 38-47
4.1 file Import and XML parsing 39-40
4.2 state diagram generation 40-41
4.3 state diagram merger 41
4.4 integrated test case generation 41-46
4.5 Summary 46-47
Chapter Summary and Outlook 47-49
5.1 Summary 47-48 < br /> 5.2 Prospects 48-49
References 49-54
Thanks 54-55
master's degree during the main research results 55
Related dissertations
- OO Software Testing Method Study Based on UML
- Design and implementation of hotel management system based on UML
- Application and Research of UML Modeling in Online System of Motoring Pollution
- Research on Business Process Modeling with Uml and Implementation of Development Tools’ Integration Based on Eclipse
- Research on Activity Diagram Polymorphic Test Method with OCL Constraints
- Study of regression test automation test cases based on priority
- Automatic Test Cases Generation Based on UML State Diagrams
- An Automatic Test Cases Generation Method Based on UML Activity Diagrams
- Research and Application on Mobile Entertainment Device Software Testing Technologies
- Function Test in Call Arrival Module of Call Center System
- Analysis and Design of Basic Endowment Insurance Management System for Hejiang Forest District in Heilongjiang
- Research on UML Sequence Diagrams Model Based Software Testing
- Test of Mobile Banking Service Based on Wap
- Research on Automatic Generation of Test Case Based on Model
- Research on Test Method Based on UML Interaction Overview Diagram
- Design and Implementation Mobile Software Testing in the Scrum Mode of the Multi-cultural
- Design and Implementation of Web-based Online Approval System
- Research on Building of Ontology for CTCS-3Test Cases with Application
- Research on the Transformation of Sysml Behavior Diagrams to Petri Nets
- Research on Model Transformation between UML Behavior Models