Based on UML use case diagrams and activity diagrams test case generation method

Author
LiHuanHuan
Advisor
LiJinHua
School
Qingdao University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2011
Downloads
78
Citations
0

Request the full text

Abstract

Software testing is the most fundamental and important means to ensure software accuracy and reliability, Traditional software testing methods and techniques are based on structured thinking and less account into the characteristics of object-oriented technology, some important concepts in models can combine with some important concepts in object-oriented software. Therefore, model-based software testing begins to achieve rapid development. Unified Modeling Language (UML) as a standard object-oriented modeling language, have strict definition, providing many representation ways in deriving object structure and behavior, which makes it easy to extract test information. So methods of automatic test cases generation are based on UML models has important academic and practical significance to software testing theory and technology.On the basis of scenario testing method, the paper proposes a method of generating test cases based on UML activity diagram and UML use case diagram. Main work in this paper follows as:1. The background knowledge of software testing are summarized, which main including test methods, test level, how to identify the test cases, object-oriented software testing strategy, scenario testing method.2. UML and UML-based testing techniques are studied.3. A method of generating test cases based on UML activity diagram and UML use case diagram is proposed. An example of online shopping system is given in order to analyze specifically the steps of the method. Experiments show that the method has some merits. Such as high test efficiency, and the numbers of test cases are reasonable and effective, and test sequence generation method is easy to understand, and easily to generate test cases automatically because of strictly definition of the model and so on.4. Design and implementation models are described and some key algorithms are given.

Table of contents

Summary 4-5 Abstract 5-6 first chapter 6-10 1.1 Introduction 6 1.2 analysis of domestic and foreign research status purpose and meaning 6-8 1.3 topics 8 1.4 main research contents and framework 8-10 <br / > Chapter II software testing 10-18 2.1 software testing Overview 10-12 2.1.1 important definitions 10 2.1.2 logo test 10-11 2.1.3 test level 11-12 2.2 object-oriented software testing 12-15 2.2.1 test level divided 12-13 2.2.2 class test 13-14 2.2.3 integration testing 14 2.2.4 system test 14-15 2.3 scenes technology 15-18 2.3.1 scene 15 2.3.2 scenario testing method 15-18 <br / > The third chapter unified Modeling Language UML and test 18-25 3.1 UML Profile 18-20 3.1.1 Overview 18 <br / > 3.1.2 UML meaning 18-19 3.1.3 UML composition 19-20 3.2 model based testing 20-21 <br / > 3.3 UML-based testing technology 21-25 3.3.1 testing phase and methods 21-22 3.3.2 testing process 22-25 <br / > Chapter IV test case generation method UML use case diagrams and activity diagrams based 25-40 4.1 Overview 25 4.2 UML use case diagrams 25-26 4.3 UML activity diagrams 26-28 4.3.1 activity diagram describes forms 26-27 4.3.2 activity Diagram semantics 27 - 28 4.4 test adequacy criteria 28-29 4.5 test Procedure 29-30 4.6 Case Study 30-40 Article achieve chapters test case generation tool 40-46 5.1 analysis model 40-41 5.2 design model 41-43 5.2.1 class Diagram 41-42 5.2.2 entity class storage structure 42-43 5.3 key algorithms 43-46 5.3.1 conditional branch processing 43-44 5.3.2 loop handle 44 5.3.3 concurrent processing 44-46 Chapter VI Conclusion work 46-48 6.1 article 46 6.2 future research 46-48 References 48-51 research study for a degree during 51-52 Thanks 52-53

Related dissertations

  1. The Study to the Method of Test Cases and Test Sequence’s Generation Based on the RBC Test Platform
    ZhangXiaoQing ·Beijing Jiaotong University ·2012 ·Master's thesis
  2. The Research of Software Testing on Bank Automatic Teller System
    HuangJinYong ·Wuhan University of Technology ·2012 ·Master's thesis
  3. Research and implementation of housing provident fund management system based on UML
  4. Design and implementation of Web in Lianyungang department management information system based on
  5. Research on Activity Diagram Polymorphic Test Method with OCL Constraints
    DingNa ·Chongqing University ·2012 ·Master's thesis
  6. Generating test cases based on the UML sequence diagram of the scene
    ZuoRuiJuan ·Qingdao University ·2007 ·Master's thesis
  7. Generate Test Case Automatically Based on Extended UML
    ZhaoZhiDan ·Hebei University of Technology ·2006 ·Master's thesis
  8. Research and Develop of Intelligent Heating Meter System
    HuangJian ·Hebei University of Technology ·2004 ·Master's thesis
  9. FastHelp Project Test
    LiYanYan ·Shandong University ·2007 ·Master's thesis
  10. Scenario-Based Automatization Testing Tool of Software Components Research and Realization
  11. Study on Method for Generating Test Cases Based on UML Activity Diagram
    FanZuo ·Nanchang University of Aeronautics and ·2008 ·Master's thesis
  12. The Computer-Based Exam System for the Radio & TV Universitys Elective Courses, Developed on the Basis of UML
    ZhangJiang ·Inner Mongolia University ·2008 ·Master's thesis
  13. Research and Application of Black-box Testing Based on Component Software
  14. UML-based object-oriented software testing research and application
  15. Research on the Impact of Human Resource Management on Employees Performance
  16. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  17. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  18. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  19. The Research and Design of Game Platform Based on Scenario Experience
    HuWeiWei ·Hunan University ·2013 ·Master's thesis
  20. Study on conversion and UML testing and model based on AADL
    LiuBo ·Shaanxi Normal University ·2013 ·Master's thesis