UML Model Verification and Test Based on Graph Transformation
- Author
- WangWei
- Advisor
- XieYiWu
- School
- Dalian Maritime University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 159
- Citations
- 0
Abstract
With the development of software engineering, UML modeling language is more and more important in software engineering, and UML has become a major standard in software requirements analysis and modeling. However, UML is a semi-formal language, so it is difficult to precisely define model without any errors. Views of UML model maybe have inconsistencies between each other and UML model itself also could conflicts with business rules of a specific domain. Although manually checking can solve the problem of inconsistency between each views of UML, it greatly costs time and effort with no good effect. When it comes to the problem of contradiction with the business rules, manual checking is powerless. Because it cannot find the problem of contradiction until system is practically running.In order to detect errors in UML model in early phase of software development, save cost and improve efficiency, this paper does some research on how to verify and test UML model. At first, this paper using the OCL expressions defines the rules of consistency of static UML model, then use some related tools to check whether each view of UML model conflicts with each other. On that basis, this paper comprehensively combines several common views of UML and OCL expressions, which represent the business rules, then generates medium aggregation model. This medium aggregation model includes more information than any single view and is easy to be tested. That solves the problem of fully testing the UML model from any single view. This paper then utilizes genetic algorithm to automatically make test cases, which save the tediousness of manually constructing test cases. After that, this paper tests the medium aggregation model with test cases, tracks the state of system or objects, and compares with OCL expressions. In this way, it can find the contradiction between UML model and business rules in detail, and achieve the goal of testing UML model.Medium aggregation model in this paper is a kind of direct graph, and has the similar structure with control flow graph in structural program design. Medium aggregation model makes the recessive information in original UML model become apparent. Tracking data and control flow with medium aggregation model is also inclined to easier. Utilizing the mature technology of structure program test can test the UML model better.
Related dissertations
- The Research of Software Testing on Bank Automatic Teller System
- Research on Activity Diagram Polymorphic Test Method with OCL Constraints
- Study of low carbon consumption behavior of consumers in Zhengzhou as an example
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- Study on conversion and UML testing and model based on AADL
- Analysis of Design and Implementation of B2C E-business Store System
- Designing and Implementing for Guizhou Huaxi Guest House Information Management System
- Design and implementation of the Qilu Petrochemical Industries Co bidding management system
- Design and implementation of hotel management system based on UML
- Design and Implementation of Personnel Management System of University
- The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
- Design and Implement of Telematics System Service Center Subsystem
- The Design and Realization of Motor Vehicle Pre-registration System
- Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- The architecture of B/S auto repair technical support system design and Implementation Based on
- Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
- Design and Implementation of Chengdu Bank Credit Decision Support Information Systems
- Design and Implementation of Sichuan Province Security Technology Center PPE Examining Information Management System