Research on Auxiliary Generation of Test Case in UML-Based Regression Test

Author
JiangChengBing
Advisor
JiangGuoHua
School
Nanjing University of Aeronautics and Astronautics
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
159
Citations
2

Request the full text

Abstract

Software regression test is one of the main research direction of software development, And the rebuilding of regression test case has an important role in the regression test. UML class diagram, sequence diagram, and use case diagram are the significant parts of software design model which based on UML development. They describe the static action and dynamic action of software system respectively, and are the important information sources of test-case- regeneration in the process of software regression test.This paper researched auxiliary generation of test case in UML-based regression test, and these researches are based on the home and overseas theory research. This paper assumes that the system is designed based on UML, and the test case is generated based on the use case. Then we can find the changed information of class diagram, sequence diagram, and use case diagram by comparing two versions of class diagram, sequence diagram, and use case diagram before and after revision. Finally, A map relation between changed information and test case[0] is generated. So using this map relation we can select test cases affected by revision. Considering that the impacted degree of UML design revision for every test case is different, we advance a notion: the Invalidation Degree of test case to weigh the impacted degree of UML design revision. Using the Invalidation Degree of test case, we can classify the changed test case in terms of the value of the Invalidation Degree of test case. And then software tester can deal these test cases discriminatively.The prototype system analyses how to generate test case Auxiliarily by comparing of class diagram, sequence diagram, and use case diagram farther. We also introduce the main function modules detailedly. Since the using of UML in software analysis and software design are broad, this method can reuse the past effort, reduce regression test cost, and improve the regression test efficiency.

Table of contents

Summary 4-5 ABSTRACT 5-9 The first chapter 9-13 1.1 research background 9-10 1.2 thesis research objectives, content and significance 10-11 1.3 dissertation chapters arranged 11-13 The second chapter of regression testing and UML modeling 13-21 2.1 regression testing 13-15 2.1.1 regression testing of software defined 13-14 2.1.2 software regression testing classification 14-15 2.2 UML and modeling 15-20 2.2.1 Unified Modeling Language UML (Unified Modeling Language) Profile 15-16 2.2.2 UML use case diagrams, sequence diagrams and class diagrams 16-19 2.2.3 UML modeling technology 19-20 2.3 Summary 20-21 Chapter III USE CASE -based test case generation 21-29 3.1 USE CASE 21-23 3.2 use case scenarios 23-24 3.3 test case generation 24-27 3.4 Requirements Traceability 27-28 3.5 Summary 28-29 Chapter IV assisted generation of test cases based on UML 29-40 4.1 software modification impact analysis 29-30 4.2 test failure degrees 30-32 The concept 4.2.1 test failure degrees 30 calculated 4.2.2 test failure degrees 30-32 4.3 Gets design change information 32-37 changes 4.3.1 same class diagram between two versions 32-35 4.3.2 with between two versions of a sequence diagram changes 35-37 4.4 handle design change information 37-38 4.5 Summary 38-40 Chapter prototype system framework and design 40-57 5.1 prototype system functional requirements 40-41 5.2 overall framework of the prototype design 41-42 5.3 prototype design technologies 42-47 5.3.1 XMI technology 42-44 5.3.2 Document Type Definition (DTD) 44-45 5.3.3 XML language 45-46 5.3.4 Document Object Model (DOM) 46-47 5.3.5 EXCEL and automation 47 5.4 modules 47-56 5.4.1 load the XML document / test group 48 5.4.2 Comparison of class diagrams 48-53 5.4.3 Comparative sequence diagram / ??use case diagrams 53-54 5.4.4 choose to be modified test 54-55 5.4.5 Report Generation 55-56 5.5 Summary 56-57 Chapter VI Summary and Outlook 57-58 References 58-61 Thanks 61-62 During his studies published 62

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. One kind of EDA software functional testing methods and strategies
    ZuoYongDong ·Fudan University ·2009 ·Master's thesis
  4. Research on the Impact of Human Resource Management on Employees Performance
  5. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  6. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  7. Study on conversion and UML testing and model based on AADL
    LiuBo ·Shaanxi Normal University ·2013 ·Master's thesis
  8. Analysis of Design and Implementation of B2C E-business Store System
  9. Designing and Implementing for Guizhou Huaxi Guest House Information Management System
  10. Design and implementation of the Qilu Petrochemical Industries Co bidding management system
  11. Design and implementation of hotel management system based on UML
  12. Design and Implementation of Personnel Management System of University
    WangJianLong ·Shandong University ·2013 ·Master's thesis
  13. The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
    WangFeng ·Shandong University ·2013 ·Master's thesis
  14. Design and Implement of Telematics System Service Center Subsystem
    WangHuaChen ·Northeastern University ·2013 ·Master's thesis
  15. The Design and Realization of Motor Vehicle Pre-registration System
    ZhangFuFeng ·Hebei University of Technology ·2013 ·Master's thesis
  16. Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
    SunQing ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  18. The architecture of B/S auto repair technical support system design and Implementation Based on
  19. Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
    LiChunLong ·Sun Yat-sen University ·2013 ·Master's thesis
  20. Design and Implementation of Automated Test Case Generator