Based on Metadata Test Case Generation for Component
- Author
- MaYuHong
- Advisor
- ZhaoRuiLian
- School
- Beijing University of Chemical Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 125
- Citations
- 1
Abstract
Besides Object-Oriented technology, component technology has become another popular methodology in the development of modern software systems. Component testing is a primary instrument for guaranteeing component quality. With the rapid development of component technology, component testing deserves more attention. However, some new characteristics of component, such as inheritance and encapsulation, restrict the application of conventional testing methods in component testing. One of the chief challenges faced by component testing is the absence of related testing information, which induces that component tester is incapable to acquire adequate information and can not generate effective test cases to check components sufficiently. At the same time, metadata, which is defined to describe other data, can provide associated information about data content, coverage scope, quality, management manner, owner and provision ways etc. Therefore, it is significant to develop a new and effective component testing approach based on metadata.After a survey of major research approaches in component testing and metadata theory, this thesis analyzes shortages of existent component testing approaches and the feasibility of applying metadata to component testing, and then presents a test case generation approach based on metadata for component. Extracting the information related to testing from metadata to generate component test case provides a new and feasible approach for component testing. Experimental results show that test cases developed by this approach can efficiently detect requirement and functional faults in component. The contributions in this thesis are mainly focused on the following aspects:1. An expression method of component metadata is proposed. We need such an expression method by which the information related to component testing is abstracted conveniently. This information provides support for the research of component testing approach. However, existing component metadata lacks the corresponding information for testing. Therefore, this paper proposed an improved expression method of component metadata. On the base of our research in component characteristics, the improved expression method proposed in this thesis overcomes the disadvantages of the original expression for component metadata. It defines the specific contents included in component metadata, discusses the detailed approach to describe component metadata using XML, and implements the algorithms of querying and acquiring component metadata.2. A test case generation approach for component based on metadata is presented. According to this approach, the method invocation sequences are derived from component metadata, test method sequences of component are generated with the help of UML sequence diagram, and then test cases are designed according to test method sequences to check the component.3. We verify the efficiency of the proposed test case generation approach based on metadata for component. Using an Email Component as example, according to the test case generation approach based on metadata for component, 20 test cases were developed, and three kinds of software defaults are detected. In addition, we compare this approach with others. Experimental results show that this approach is effective and promising. The test cases developed can remarkably reveal requirement faults and functional defects in component. Applying metadata in test case generation of component can enhance the efficiency of component.
Table of contents
Abstract 4-6
ABSTRACT 6-15
The first chapter 15-23
1.1 research background and significance 15-16
1.2 Research and development dynamics 16-21
1.2.1 Component Testing Research and developments 16-20
1.2.2 Metadata research status and development trends 20-21
1.3 The main work 21
1.4 The paper is organized 21-23
Chapter component technology and testing methods 23-30
2.1 What is a member 23-24
2.2 component-based software development process 24-26
2.3 Component Test Method 26-28
2.4 Summary 28-30
Chapter metadata 30-34
3.1 metadata 30-31
3.2 metadata application 31-32
3.3 metadata in the test application 32-33
3.4 Summary 33-34
Chapter member metadata and its representation 34-44
4.1 component metadata 34-35
4.2 component metadata content 35-36
4.3 component metadata representation 36-40
4.4 component metadata query and retrieval 40-42
4.5 Chapter Summary 42-44
Chapter metadata-based component test case generation method 44-49
5.1 method call sequence generation 44-46
5.2 Test method sequence generation 46-48
5.3 test case generation 48
5.4 Summary 48-49
Chapter case analysis 49-55
6.1 Introduction-Email tested structure member 49
6.2 Email component component metadata generation 49-50
6.3 component-based metadata Email component test case generation method 50-53
6.3.1 Email component method call sequence generation 50-51
6.3.2 Email Component test methods sequence generation 51-52
6.3.3 Email component test case generation 52-53
6.4 Email component analysis and comparison of the test results 53-54
6.5 Chapter Summary 54-55
Chapter Summary and Outlook 55-58
7.1 The main contribution of this paper 55-56
7.2 follow-up prospects 56-58
References 58-62
Thanks 62-63
papers published during the study for a degree 63-64
Authors and Instructors 64-65
Beijing University of Chemical Technology graduate dissertation committee resolution book 65-66
Related dissertations
- Research on the Technology of Software Component Testing
- Components Dynamic Assembly System Based on RDF Semantic Metadata
- Research of Tourism E-commerce Metadata Model of SaaS
- Design and Realization of Daqing Oilfield Downhole Data Collection
- Research on the Network Control Andkey Components in the Time-Triggered Ethernet
- Research and Design on Key Technologies of the Mobile Internet Service Resource Management
- Describe on Metadata of the Value of Archival Web Information
- Research of Ontology-based Component Description and Intelligent Retrieval
- Application Research on the Kernel Fisher Method and Its Component in Image Recognition
- Design and Implementation of Music Database System
- Research on the Metadata Management of Multi Namenodes Based on HDFS
- Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
- The Design and Implementation of Information Dissemination Terminal Module Component Based
- Research on facet reusable component library based on
- Development and Application of Component Based on JSF2and HTML5
- Design and Realization of Meteorological Data Sharing System Based on Metadata
- The Design and Implementation of Distributed File System in Crowd Intelligence Sensation Environment
- Design and Implementation of Unstructured Multimedia Resource Sharing System Based on Metadata
- The Research and Application of Information Resource Integration Technology Base on UNIRMS.Net Platform
- An Information Service Platform for Professional-town Based on Content Management