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

Request the full text

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

  1. And the realization of software testing reuse management subsystem design
  2. Test Case Generation and Management
  3. Automatic Test Case Generation for Path Testing Using Genetic Algorithms
    WangPeng ·Dalian Jiaotong University ·2007 ·Master's thesis
  4. Research & Implementation of Automated Test Case Generation Based on UML Statement Diagram Model
  5. Research on Technology of Object-Oriented Software Testing
    LiuJinYan ·Southwest Jiaotong University ·2003 ·Master's thesis
  6. Automatic Test Cases Generantion of Class Testing from UML State Diagrams
    ShiFengMing ·Xi'an University of Technology ·2003 ·Master's thesis
  7. A Method of Automatic Generating Test Case Based on UML Activity Diagram
  8. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  9. Research on software testing technology based on complex network theory
  10. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  11. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  12. Research of Software Testing Method Based on Cloud Computing
  13. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  14. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  15. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  16. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  17. The Design and Implementation of Banking Software Testing Based on Bugfree
  18. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  19. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  20. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation