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

Request the full text

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

  1. Research of Tourism E-commerce Metadata Model of SaaS
    AnChengJun ·Shandong Normal University ·2013 ·Master's thesis
  2. Design and Realization of Daqing Oilfield Downhole Data Collection
  3. Research and Design on Key Technologies of the Mobile Internet Service Resource Management
  4. Describe on Metadata of the Value of Archival Web Information
    XiangLiHua ·Xiangtan University ·2013 ·Master's thesis
  5. Design and Implementation of Music Database System
  6. Research on the Metadata Management of Multi Namenodes Based on HDFS
  7. Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
  8. Design and Realization of Meteorological Data Sharing System Based on Metadata
  9. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  10. The Design and Implementation of Distributed File System in Crowd Intelligence Sensation Environment
  11. Design and Implementation of Unstructured Multimedia Resource Sharing System Based on Metadata
    ZhangFeiYu ·Nanchang University ·2013 ·Master's thesis
  12. The Research and Application of Information Resource Integration Technology Base on UNIRMS.Net Platform
    DengWen ·Nanchang University ·2013 ·Master's thesis
  13. An Information Service Platform for Professional-town Based on Content Management
  14. Design and Implementation of a File System Called Trinityfs for a Hybrid Storage Device
  15. The Impact of Urbanization on Temperature of Nearly50Years in Differernt Region of China
  16. Management information system modeling and consistency of tree based on atomistic model
  17. The Understanding Process of Metadata in Chinese Archives
    YuZhenKuan ·Liaoning University ·2012 ·Master's thesis
  18. Comparative Research on Encapsulation Strategies for Electronic Records
    LuoWenWu ·Zhejiang University ·2013 ·Master's thesis
  19. Research on Exploiting and Serving Mode of Scientific Literature Information in Digital Environment
    ZhaoDanYang ·Jilin University ·2012 ·Doctoral dissertation
  20. The Research on Semantic Annotation Platform Model and System Architecture Based on Ontology and Metadata
    YuXiaoFan ·Shandong University of Technology ·2012 ·Master's thesis