Research of the Method to Create Test Case Based on UML Activity Diagram Model
- Author
- ZhanXinYu
- Advisor
- WangXiaoLin , GaoBo
- School
- Shandong University
- Major
- Computer technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 340
- Citations
- 7
Abstract
Test case design and generation is one key and challenging problem in software testing technology, which essence is how to develop effective test cases based on software specifications. Recently with the maturity and popularity of 00 technology, testing based on UML has become an active topic, with some significant results achieved.Aimed to the interactive characteristics of most large complex software systems, this research is devoted to the study of test case design and generation method based on UML activity model. Also a supporting tool is implemented which integrated with Rational Rose.First of all, this paper gives a simple introduction of UML and model-based testing technology, points out advantages of applying UML models to direct testing, then analyzes all kinds of UML models, their testability and test strategy. And point out UML activity diagram is not only a powerful model in requirement analysis and design, it can also be an important basis for software testing.Based on above analysis, this paper is focused on the approach of test case generation based on UML activity model. Related definition and technology are brought out such as test case and test scenario, then the test case generation strategy is put forward, which consists of the generation of scenarios based on the control flows of activity model and the generation of basic test data for the input of activities. In test scenario generation part, the methods of dealing with object flow and synchronized modules are presented in order to get a structuralized model. In the test data generation part, test profile is defined in order to describe test related information such as input/output data. An improved cycling method is also designed to solve the test data combination problem.Finally, the design and implementation of the UML-activity-model-based test case generation tool is introduced. This tool provides the functionality of test profile definition, automated test outline and test case generation. A platform is also provided for management of test outlines and test cases.
Table of contents
Summary 10-11
ABSTRACT 11-13
Chapter 1 Introduction 13-20
1.1 topic background and significance 13 -17
1.1.1 software testing methods described important and difficult 13-14
1.1.2 software testing 14-15
1.1.3 unified Modeling Language UML 15
1.1.4 software testing and software development process 15-16
1.1.5 significance 16-17
1.2 at home and abroad Research Status major work 17-18
1.3 article organizations and arrangements 18-19
1.4 article 19-20
based on Chapter 2 testing technology model definitions 20-25
2.1 model 20-21
2.2 tests commonly used model introduced 21
2.3 model-Based testing the basic process 21-22
2.4 model based testing and advantages and disadvantages of possible problems 22-23
2.5 UML model advantage in testing the 23 - 24
2.6 Summary 24-25
UML Chapter 3 of the models and test strategy testability analysis can 25-33
3.1 UML Profile 25-26
3.2 testability model defined 26-27
3.3 UML testability analysis and test strategies for each model 27-32
3.3 .1 analysis of use case diagrams 27-28
3.3.2 state diagram analysis 28-29
3.3.3 interaction diagram analysis 29
3.3. 4 class diagram analysis 29-30
3.3.5 activity diagram analysis 30-32
3.4 Summary 32-33
based on Chapter 4 test case generation method UML activity diagram model 33-53
4.1 UML activity diagram model analysis 33-35
4.1.1 scope activity diagram analysis 33 -34
4.1.2 activity diagram model elements analysis 34-35
4.2 concepts and technologies 35-37
4.2.1 test 35-36
4.2.2 test outline 36
4.2.3 scenes technology 36-37
4.3 activity diagram model based on the general framework to generate test cases 37-38
4.4 test coverage criteria designed 38-39
4.5 method to generate test cases based on activity diagram model 39-52
4.5.1 definitions testing profile method 39-40
4.5.2 structured activity diagram model 40-43
4.5.3 generate test scenarios 43-46 <br / > 4.5.4 test data generation and combination methods 46-52
4.6 Summary 52-53
Chapter 5 test case generation system design and implementation 53-72
5.1 system structure and organization 53-56
5.2 test case generation system to achieve 56-66
5.2.1 structured activity graph model achieve achieve 56-59
5.2.2 defines the test section 59-63
5.2.3 to generate test data to achieve 63-64
5.2.4 test document Design 64-66
5.3 introduces a simple example 66-70
5.4 summary 70-72
Chapter 6 summarizes and Prospect 72-74
6.1 summary 72-73
6.2 job Outlook 73-74
Appendix 74-79 < br /> 1 testing profile PETAL format defined based on an instance 74-76
2 activity diagram model test section 76-79
References 79 - 82
Thanks 82-83
dissertation defense review and table 83
Related dissertations
- And the realization of software testing reuse management subsystem design
- Test Case Generation and Management
- Automatic Test Case Generation for Path Testing Using Genetic Algorithms
- Research & Implementation of Automated Test Case Generation Based on UML Statement Diagram Model
- Research on Technology of Object-Oriented Software Testing
- Automatic Test Cases Generantion of Class Testing from UML State Diagrams
- A Method of Automatic Generating Test Case Based on UML Activity Diagram
- 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