Research and Implementation of Polymorphic Testing Based on UML
- Author
- ChenLianPing
- Advisor
- ZengYi
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 59
- Citations
- 1
Abstract
With the development of information technology and the wide application of computer, how to ensure and improve software quality to become one of the most concern of software engineering, software testing, software quality assurance technology has been developed rapidly in the software production practice. However, with the increasing software size and complexity continues to improve traditional software testing technology has been unable to meet the requirements of modern software development technologies. Especially widely used in recent years, object-oriented (OO) technology, which not only enhances the flexibility of program development and improve code reusability, also presented new challenges to traditional software testing. Unified Modeling Language (UML), while widely accepted by the industry, academia followed a standard modeling language, many of the object-oriented software testing are expanded around UML model. UML models describe the full range of the blueprint for the software system, so conducive to study UML model-based software testing testing ahead to the early stages of the software development cycle. Based on analysis of existing software testing techniques, in-depth study of polymorphism testing based on UML models, which have important significance for existing software testing theory and technology. UML collaboration diagram focuses on the interaction of graphical display objects from the perspective of space, directly extracted from the collaboration diagram test cases is not convenient, so you must do formal equivalence conversion. Limited to traditional process control flow graph (IRCFG) describe the collaboration diagram of the control logic of interactive messages, but it does not test information, and can not be combined with class diagrams polymorphic information contained in the object-oriented programming, so this article combine collaboration diagrams and class diagrams, polymorphism extended class diagram model is limited by the control flow graph (PCIRCFG), and its formal description. Proposed test coverage criteria apply to PCIRCFG given test from PCIRCFG extract clues in order to effectively solve the polymorphism testing object-oriented technology. Finally, based on the theoretical design and realization of a UML model-based software testing framework, the main structure of the framework is given, and focuses on the key technologies involved in the process of design and implementation of the various functional modules. Modeling tools based on the current mature business PowerDesinger their models generated OOM-depth analysis, and successfully extracted a useful model. PCIRCFG model data structures are defined constructor algorithm of PCIRCFG and the only path coverage criteria corresponding test lead generation algorithm. Extracted polymorphism test clues from the actual model, in order to verify the effectiveness of the method.
Table of contents
Abstract 3-4
ABSTRACT 4-9
1 Introduction 9-14
1.1 thesis topics and research significance 9-10
the 1.2 research status and the main problems 10-12
1.3 In this paper, the research and work 12-13
1.4 In this paper, the organizational arrangements 13-14
2 software testing foundation 14-34
2.1 software testing foundation 14-20
2.1.1 software testing defined 14-15
2.1.2 software testing purposes 15
2.1.3 software testing model 15-18
2.1.4 software testing technology 18-19
2.1.5 software testing process 19-20
2.2 object-oriented software testing 20-25
2.2.1 Overview of object-oriented 20-22
2.2.2 test object-oriented three mechanisms 22-23
2.2.3 object-oriented test 23-24
2.2.4 object-oriented system test level 24-25
2.3 model-based software testing 25-27
2.3.1 model definition 25-26
2.3.2 test commonly used model introduced 26
the 2.3.3 model testing process 26-27
2.3.4 model test of the advantages and disadvantages of 27
2.4 automated software testing 27-33
2.4.1 Automated test the basic theory 27-28
2.4.2 automated testing maturity 28-29
2.4.3 automated testing advantages and limitations 29-30
2.4.4 IBM software test automation solutions 30-33
2.5 This chapter Summary 33-34
3 UML Software Testing 34-43
3.1 the UML Profile 34-36
3.1.1 development of UML 34
3.1.2 UML, 34-35
3.1.3 UML composition 35-36
3.2 the UML software testing 36-38
3.2.1 UML diagram in object-oriented software testing 36-37
3.2.2 UML model advantage in the software testing 37-38
3.3 class diagram and collaboration diagram 38-41
3.3.1 UML class diagram 38-39
3.3.2 UML collaboration diagram 39-41
3.4 UML-based testing framework 41-42
3.5 This chapter Summary 42-43
the
polymorphism test clues extracted 43-62
4.1 Extensible Markup Language 43-45
4.1.1 XML 43-44
4.1.2 DOM with the SAX 44-45
4.2 based on the control flow graph of the test are found; 45-49
the
restricted control flow graph 4.2.1 interprocedural 45-47
4.2.2 interprocedural restricted control flow graph generated 47-48
4.2.3 test coverage criteria 48-49
of 4.3 polymorphisms test clues generate 49-57
4.3.1 polymorphic introduced 49-50
4.3.2 polymorphic information represented 50-52
4.3.3 CIRCFG polymorphic extension 52-54
4.3.4 polymorphic clues extracted 54-57
4.4 testing framework to achieve 57-61
4.4.1 test configuration module 57-59
4.4.2 XML parsing module 59
4.4.3 clues generation module 59
4.4.4 the case generation modules 59-60
4.4.5 use case execution module 60
4.4.6 Results analysis module 60-61
4.5 Chapter Summary 61-62
5 system 62-81
5.1 tools to select 62-63
5.1.1 modeling tools 62
5.1.2 XML analytical tool 62
5.1.3 development platform 62-63
5.2 model file analysis 63-67
5.2.1 OOM file 63-64
5.2.2 class and class diagrams are found; 64-65
5.2.3 Collaboration diagram with the message 65-67
5.3 system to achieve 67-80
5.3.1 experimental model 67-72
5.3.2 data structure design 72-73
5.3.3 Information Extraction 73-77
5.3.4 build PCIRCFG 77-80
5.4 This chapter Summary 80-81
6 Summary and further work 81-83
6.1 summarizes 81
6.2 further work 81-83
Acknowledgements 83-84
the
References 84-87
Appendix 87
the papers directory published by A. of study for a degree during 87
B. project work 87
Related dissertations
- Chengdu Jinjian Finance Bureau Financial Approval System Design and Implementation
- The Design and Implementation of Experiment Teaching Management System in Changshu Institute of Technology
- Analysis and Design of Consvmption Management System
- Spare Parts Catalog & Order-making System for Overseas Clients of Commercial Vehicle Company
- The Research of Simulation Technology on Battlefield Environment
- Electronic IC_Chip Drawing System
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
- Design and Implementation of Tianhua College Office System
- Universities Fixed Asset Lifecycle Management System Design
- Analysis and design of engineering project management system
- The Design and Implementation of Vehicle Tracking Management System
- Design of Music Teaching Aids Management System Based on J2EE
- Research and Application of Warehousing and Logistics Management System for Flue-cured Tobacco Industry Based on ASP.NET
- Design and Implementation of the Management System of the Service Area
- The Design and Realization of Campus Blog System Based on ASP
- The Design and Implementation of the Ship Agency Management System