Research on Test Method Based on UML Interaction Overview Diagram

Author
LiuQingXiang
Advisor
ZengYi
School
Chongqing University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
6
Citations
0

Request the full text

Abstract

With the maturity of software development technology and the popularity ofapplication, software quality assurance is not only facing new challenges, but alsohighlights the importance of software testing. In recent years, the development ofobject-oriented technology, the software testing based on UML has become animportant research subject.At present, the single model can only describe the system information from acertain level and lead to inadequate testing problem. For example,activity diagram isused to describe the business processes of system and sequence diagram is used todescribe the interaction information between objects of system. As UML semi-formalcharacteristics, it cannot accurately describe the system constraint information, makesthe generated test cases based on UML model completeness of severe shortage.According to the above two problems, this paper proposes UML2.0interactionoverview diagram (IOD) as the test model, which combined UML activity diagram andsequence diagram describes the business process and the interaction details of system, itis good to make up for deficiencies in the activity diagram and sequence diagram andhas opened up a new field to the software test. Currently the software test based onUML2.0interaction overview diagram is less, and the traditional test method based onactivity diagram or sequence diagram is not suitable to interaction overview diagram,therefore, this paper presents a test method based on UML interaction overviewdiagrams, and combines with the OCL constraints to generate test cases which containconstraint information, process information and object interaction information.This article is mainly combined with UML interaction overview diagram, classdiagram, and sequence diagram. Firstly,it analyses the new features and structural ofUML class diagrams and interaction overview diagrams, sequence diagrams, newfeatures and gives the formal definition, by adding the OCL constraints in classdiagrams to enhance the accuracy of UML to describe system; Secondly, it constructstestable interaction overview diagram model. Interaction overview diagram contains notonly the business process information of system, also contains the interactioninformation between objects. According to IOD process structure information constructtheNode Control Flow Graph (NCFG); according to sequence diagram which containsmessages and combination framework such as alt, loop, break, construct Message Constraint Sequence Diagram (MCSD), and final structure the testable interactionoverview diagram model. Next, it analyses the loop and concurrent structure, designstest coverage criteria, and gives the concrete steps of test clues generated; according theconstraint conditions of the test clues in combination with equivalence-partitioningmethod and boundary-value analysis method to generate test datas and complete testcases.Through the above theoretical research, this paper proposes a testing frameworkbased on UML interaction overview diagram. Analyse the XMI model of RationalSoftware Achitect (RSA) file and develope a prototype tool based on this framework.Implement the model information parsing and extracting, the testable interactionoverview diagram generation and the test clues automatically generated. At last, byexperimental examples using the tools to automatically generate test clues; theexperimental results show the feasibility and effectiveness of the proposed method.

Table of contents

Summary 3-4 ABSTRACT 4-9 1 Introduction 9-15 1.1 dissertation topic and research significance 9 Status 1.2 -10 study abroad and problems research 10-13 1.3 herein and the main work organizational 13-14 1.4 herein arrangements 14-15 2 software Testing 15-23 basic theory 2.1 software testing definitions 15-19 2.1.1 software testing 15 2.1.2 software testing process model 15-18 2.1.3 software testing processes and methodologies 18-19 2.2 -based model software testing 19-20 2.3 software test automation 20-21 significance 2.3.1 automated testing 20 2.3.2 automated Testing Features 20-21 2.3.3 automated test applications 21 2.4 Summary 21-23 3 UML model -based software testing 23-41 3.1 UML Overview 23-29 3.1.1 UML development and evolution 23-24 3.1.2 UML constitutes 24-27 3.1.3 UML model in software testing 27-28 3.1.4 UML in software testing advantage 28-29 testability analysis and selection 3.2 UML model 29-34 3.2.1 class Diagram 29-30 3.2.2 activity Diagram 30 -31 3.2.3 sequence Diagram 31-33 3.2.4 interaction overview diagram 33-34 3.3 object Constraint Language 34-38 3.3.1 OCL Profile 34-36 3.3.2 OCL in the UML 36 3.3.3 OCL impact on software testing 36-38 3.4 UML model -based software testing framework 38-39 3.5 Summary 39-41 4 UML interaction overview diagram based on the test method Research 41-65 4.1 to generate test cases related knowledge 41-46 4.1.1 OCL constraints and UML model 41-42 4.1 .2 affect the interaction overview diagram for software testing formal definition of 42-43 4.1.3 UML model 43-45 basic processes generate test cases 4.1.4 45-46 4.2 testable structure interaction overview diagram 46-57 4.2.1 construct the control flow graph nodes 47-49 4.2 news .2 structure interaction sequence diagram node constraints 49-54 4.2.3 introduced the message constrained path to the node control flow graph 54-57 4.3 coverage guidelines design 57-61 4.4 interaction overview diagram test case generation 61-62 4.4.1 test leads generation 61-62 4.4 .2 test case generation 62 4.5 Summary 62-65 5 based testing framework and interaction overview diagram of the experimental 65-89 5.1 test framework design 65-66 select 5.2 tools 66 5.2.1 modeling tools 66 5.2.2 development Platform achieve 66 5.3 test framework analytic 66-74 5.3.1 model file nbsp 66-70 5.3.2 extracting model information ; generate nbsp 70-72 5.3.3 test clues ; 72-74 5.4 experiments and results analysis 74-87 5.4.1 experimental model results 74-80 5.4.2 model file parsing generate nbsp 80-83 5.4.3 test clues ; 83-85 5.4.4 test case generation 85-86 5.4.5 analysis of test results 86-87 5.5 summary 87-89 6 summary and Looking 89-91 6.1 summarizes 89-90 6.2 The next step 90-91 Thanks 91-93 <br / > References 93-97 Appendix 97 A. the authors of papers published during the degree program directory 97

Related dissertations

  1. Design and implementation of hotel management system based on UML
  2. Research on Business Process Modeling with Uml and Implementation of Development Tools’ Integration Based on Eclipse
  3. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  4. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  5. Study on conversion and UML testing and model based on AADL
    LiuBo ·Shaanxi Normal University ·2013 ·Master's thesis
  6. Analysis of Design and Implementation of B2C E-business Store System
  7. Designing and Implementing for Guizhou Huaxi Guest House Information Management System
  8. Design and implementation of the Qilu Petrochemical Industries Co bidding management system
  9. Design and Implementation of Personnel Management System of University
    WangJianLong ·Shandong University ·2013 ·Master's thesis
  10. The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
    WangFeng ·Shandong University ·2013 ·Master's thesis
  11. Design and Implement of Telematics System Service Center Subsystem
    WangHuaChen ·Northeastern University ·2013 ·Master's thesis
  12. The Design and Realization of Motor Vehicle Pre-registration System
    ZhangFuFeng ·Hebei University of Technology ·2013 ·Master's thesis
  13. Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
    SunQing ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  15. The architecture of B/S auto repair technical support system design and Implementation Based on
  16. Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
    LiChunLong ·Sun Yat-sen University ·2013 ·Master's thesis
  17. Design and Implementation of Chengdu Bank Credit Decision Support Information Systems
  18. Design and Implementation of Sichuan Province Security Technology Center PPE Examining Information Management System
  19. Based on B/S Mode of Tibetan and Qiang Style Shopping Site Design and Implementation
  20. Design and Implementation of Staff Education and Training System in Electric Power Bureau of San Ming