Metadata-Based Regression Testing Techniques for Component-Based Software
- Author
- LuJia
- Advisor
- ChenRong
- School
- Dalian Maritime University
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 78
- Citations
- 0
- Metadata
- Design By Contract (DBC)
- component-based software
- Regression testing
- Category-Partition Method (CPM)
Abstract
CBSD represents a paradigm shift in software development:from building monolithic,single-platform,built-from-scratch systems to constructing assemblies of ready-made components that are platform-independent and supplied by third-parties. This new software development paradigm provides an effective way to increase software production,and has been a hot topic in today’s software engineering.However,Component-Based Software(CBS) presents new challenges to traditional software testing,that is,reusable component must be integrated into a new working environment,which usually needs to check,diagnose,and handle software error at real time.Component suppliers and users have to exchange a variety of information such as component functions and usage conditions in the development procedure and in developing a system by using this component.However,the exchange of this information is condition due to various reasons.Component providers and users are facing the problem of insufficient information.Lack of information will lead to all kinds of difficulties,for example,component user can’t generate test cases without source code,so we have no choice but to require component providers testing the component.But a fully tested component does not mean that the quality of the component is 100%guaranteed,in particular in a new working environment.So component users are expected to do testing too,but it is difficult for component users to test components in case of lack information.This paper proposes a method for component-based software regression testing from the perspective of component users.The idea is that component providers publish metadata describing component functions or behavior constraints,and component users use these metadata to test components in new working environment.To do so,we propose various metadata,implement dynamic checking of component behavior constraints,and improve the CPM method to select test cases by using metadata information.The experimental results show that the improved CPM can select fewer test cases for component regression testing.This enhances the efficiency of regression testing.
Table of contents
Abstract 5-6
Abstract 6-10
Chapter 1 Introduction 10-12
1.1 topics in accordance with 10
120 research 10-11
1.3 paper structure 11-12
Chapter 2 component-based software testing technical overview 12-18
2.1 Component Software Testing Research 12-14
2.1.1 component software and traditional software difference 12-13
2.1.2 Component Software testing the difficulties faced by 13-14
2.2 component-based software regression testing 14-16
2.2.1 regression testing range limited 14
2.2.2 Typical regression testing techniques 14-16
2.3 Summary 16-18
Chapter 3 Design by Contract concept and its application 18-24
3.1 Contract design About 18-19
the concept of
3.1.1 Design by Contract (DBC), 18-19
3.2 Contract design applications 19-21
3.2.1 Object Constraint Language OCL (Object Constraint Language) 19-20
3.2.2 Java modeling language JML (Java Modeling Language) 20
3.2.3 Enterprise JavaBeans (EJB) 20-21
3.2.4 iContract 21
3.3 Summary 21-24
Chapter 4 component metadata and expression 24-34
4.1 of the popular component technology includes metadata 24
4.2 component data types 24-26
4.3 metadata expression 26-32
4.3.1 assertion metadata expression 26-28
4.3.2 single class in the assertion of the logical relationship 28-30
4.3.3 Type Extensions logical relationship assertions 30-32
4.4 Summary 32-34
Chapter 5
check code generation technology introduced with 34-52
5.1 check the code and its format 34-38
5.1.1 checking code 34
5.1.2 check the code format 34-38
5.2 check code generation algorithm 38-48
5.2.1 parse source 39-47
5.2.2 obtain the check code and insert source 47-48
5.3 Experimental results 48-51
5.4 Summary 51-52
Chapter 6 test case selection 52-72
6.1 test case selection algorithm 53-54
6.2 improved CPM method specific steps 54-68
6.2.1 Analysis specification 55-56
6.2.2 determine the parameters and environmental conditions of the test unit 56-57
6.2.3 to determine the areas and the division of Select 57-60
6.2.4 determine the choice between constraint 60-64
6.2.5 generate test grid 64-66
6.2.6 algorithm 66-68
6.4 the CPM method and improvement of the CPM method 68-71
6.4.1 find the instance of the command 69
6.4.2 removeRange method 69-71
6.5 Summary 71-72
Chapter 7 Summary and outlook 72-74
7.1 summarize 72
7.2 Looking 72-74
References 74-80
published papers during the study for a degree 80-82
thank 82-84
graduate resume 84
Related dissertations
- Research of Tourism E-commerce Metadata Model of SaaS
- Design and Realization of Daqing Oilfield Downhole Data Collection
- Research and Design on Key Technologies of the Mobile Internet Service Resource Management
- Describe on Metadata of the Value of Archival Web Information
- 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
- Design and Realization of Meteorological Data Sharing System Based on Metadata
- Research on Combinatorial Testing Technique and Its Application
- 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
- Design and Implementation of a File System Called Trinityfs for a Hybrid Storage Device
- The Impact of Urbanization on Temperature of Nearly50Years in Differernt Region of China
- Management information system modeling and consistency of tree based on atomistic model
- The Understanding Process of Metadata in Chinese Archives
- Comparative Research on Encapsulation Strategies for Electronic Records
- Research on Exploiting and Serving Mode of Scientific Literature Information in Digital Environment
- The Research on Semantic Annotation Platform Model and System Architecture Based on Ontology and Metadata