Research on COM Component Dependency Analysis and Regression Testing

Author
LiuZuo
Advisor
ZuoBinBin
School
Huazhong University of Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
9
Citations
1

Request the full text

Abstract

The wide use of off-the-shelf component brings a great convenience to software development, but it also brings some challenges to software engineering due to the unavailability of source code. In general, most functions of component-based system are realized through coordination and communication between different components. And thus dependencies between components become inevitable. However, as for off-the-shelf component, it is difficult to extract component dependencies, because the dependency information can only be obtained from component files and specification documents while no strict standard for specifications has been set up until now.Dynamic analysis of component dependency can extract real-time dependencies during the runtime. The framework consists of five modules: interface analysis, system configuration, monitoring execution, dependency analysis and graph display.Based on the information extracted from the original component, a proxy component which has the same name, interface and methods as the original component is generated accordingly. Moreover, each method of the proxy component is instrumented with pre-probe and post-probe which are tagged with method-specific information. When the test suites executing in proxy component system, the probes record the invocation sequence of each method in a log file. Dependency analysis algorithm is proposed to extract dependencies, through reading, analyzing and matching the records of the log file. The result is saved in XML file, and shown visually via component dependency graph.Regression testing is one of the important phases in software development. Except for retesting the component modified, it is also necessary to validate the normal running of other components which are affected by the modified component. Based on the component dependency, a research on regression testing is conducted. The object of regression testing is obtained from component dependency graph. Adopting the criterion based on directed edge, test suites are selected from original test suites when the coverage can be guaranteed and testing cost can be cut down as much as possible. At last, in order to reduce the complexity, components are tested orderly in accordance with dependency.

Related dissertations

  1. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  2. Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
    SongJianSheng ·Jiangnan University ·2012 ·Master's thesis
  3. The Design and Implementation of Test Suit Augmentation Based on Predicate Adaptive Random Testing
    YangZhongJun ·Nanjing University ·2012 ·Master's thesis
  4. Research and Implementation for Method of Component Regression Testing
  5. Research on UML Activity Diagram-based Software Automatic Regression Test Case Generation
    YeZuo ·Nanjing University ·2012 ·Master's thesis
  6. The Study of Test Case Secletion Algorithm Based on Requirement Priority in Regression Testing
    WangDaWei ·Zhejiang University of Technology ·2012 ·Master's thesis
  7. Implementation of an Automated Testing Tool Based on Java
    WangChong ·Donghua University ·2013 ·Master's thesis
  8. The Research and Implementation of Automated Testing System on Power System Real Time Database
  9. The Research of Regression Testing for Software Equipment
  10. Based on the QTP WEB Program Testingsystem Development and Research
    WangXiaoLong ·Dalian Maritime University ·2012 ·Master's thesis
  11. Research on Repairing GUI-Directed Regression Test Scripts
    LiXiao ·Sun Yat-sen University ·2013 ·Master's thesis
  12. Research on Regression Testing Selection
    YouLiang ·Huazhong University of Science and Technology ·2012 ·Doctoral dissertation
  13. Design and Implementation of Android Operating System Software Test Automated
  14. The Research and Implementation of Conference Call Software Testing System for Android Platform Smartphone
    HuangYing ·Central China Normal University ·2013 ·Master's thesis
  15. Research on Analysis and Testing Techniques of Object-Oriented Programs
  16. Research on Dependence Analysis and Software Testing
    ZuoLi ·Hunan University ·2006 ·Doctoral dissertation
  17. Studying the Fault Localization Method for Regression Testing in Oriented-Objects Software
    GeZuo ·Shanghai Normal University ·2008 ·Master's thesis
  18. Study on the Feasibility of Functional Regression Testing and Coordinated Test in Distributed Environment
    MengWei ·Chengdu University of Technology ·2008 ·Master's thesis
  19. Design and Implementation of Automated Regression Testing Tool for Huge Application Software Systems
    ChengHua ·Beijing Jiaotong University ·2008 ·Master's thesis
  20. Rules Driven Test Framework
    QinDaYong ·Chengdu University of Technology ·2008 ·Master's thesis