Research on Automatically Generating Methods of COM Testing Cases and Testing Scripts

Author
WangPing
Advisor
YinXianLiang
School
Huazhong University of Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
100
Citations
1

Request the full text

Abstract

Nowadays, component and Component-Based Software Development (CBSD) are gaining substantial interests in the software engineering community. A component-based approach can simplify the design and maintenance of large software systems, and also can increase reusing opportunities and productivity. However, components with low-quality or wrong configuration which used in large software systems will bring in many problems, even lead to disasters.Components used to be supplied by a third partner, so the source codes of them are normally not accessible. Then the traditional testing methods can’t be used in it directly. Meanwhile the features of encapsulation and state are also increase the difficulties.As the kernel of testing, testing cases and scripts generating methods are always the emphases and hotspots in this area. Testing of component and CBS should take the most of the traditional testing methods as well as consider the features of component itself. Because the trait of state between component and object are alike, object-oriented testing methods can be used in testing component and CBS via some extend.Model is an object’s constraints on state and messages which can communicate. Components are divided into nonmodal component and modal component via the introduction of model in component, and then it can be tested according to its own features. Based on the modal-feature of component, generating methods from testing cases to testing scripts are introduced respectively. For nonmodal components, boundary values and pair-wise coverage methods are used to generate testing cases automatically, with XML and reflection mechanism; for modal components, extended adjacency table and extended constraint table are defined, combining with stream-based testing methods, which are using to generate testing sequences, besides the methods used in nonmodal components. Testing Cases of Component Generating System (TCsCGS) is introduced based on the theory discussed above, validating the efficiency of the testing methods.

Table of contents

Abstract 4-5 ABSTRACT 5-8 1 Introduction 8-14 1.1 research background and significance 8-9 < br /> 1.2 research status 9-10 1.3 research objectives and methods 10-12 1.4 content and organization 12-14 <br / > 2 COM component test methods 14-23 2.1 software testing methods . 14-16 2.2 COM components modality . 16-18 <br / > 2.3 component test Method 18-22 2.4 Summary 22-23 3 non-modal components of automatic test case generation method 23-34 <br / > 3.1 non-modal component test case generation method and its automation 23-24 3.2 component interface member function analysis of information 24-26 3.3 interface member function parameter boundary values analysis 26-28 3.4 non-modal components and test script generation 28-33 3.5 Summary 33-34 4 modal components of automatic test case generation method 34-50 4.1 modal component test case generation method and its automation 34-35 4.2 modal components and state machine 35-43 4.3 modal components and test script generation 43-48 4.4 Summary 48-50 5 system implementation and experimental analysis 50-55 5.1 CSTS and test case generation subsystem architecture 50-53 5.2 test cases and scripts to automate generation tool Description and Analysis 53-54 5.3 Summary 54-55 6 Conclusion 55-57 6.1 article summarizes 55 6.2 further work 55-57 < br /> Thanks 57-58 References 58-63 attack during the research situation Shuo 63-64 Annex 1 non-modal component information documentation 64-67

Related dissertations

  1. A Brief Study on the Final Endings of Korean Sort by Sentential Type's Counterpart in Chinese
    ZhangZuo ·Yanbian University ·2013 ·Master's thesis
  2. The Modal Research on the Dialect in YongZhou City of Hunan Province
    WenZhiFang ·Hunan Normal University ·2014 ·Master's thesis
  3. Based on Modern Chinese Corpus on the Basis of Common Words Used in Conjunction Tone
    TangLu ·Central China Normal University ·2014 ·Master's thesis
  4. The Finite Element Simulation and Parametric Analysis of Damping Infilled Frames
    GanYingJie ·Guangzhou University ·2013 ·Master's thesis
  5. The Diagnosis and Analysis of Starter's Abnormal Noise
  6. Mechanical Properties Analysis and Structure Optimization of Body-in-white Based on Finite Element Method
    HeWenHua ·Hunan University ·2013 ·Master's thesis
  7. Lightweight Design of Heavy Duty Truck's Frame based on Stiffness and Modal
    LuoYunFeng ·Hunan University ·2013 ·Master's thesis
  8. The Structural Analysis and Optimization of FSC Car Frame Based on FEM
    ZhangBaoYu ·Liaoning University of Technology ·2014 ·Master's thesis
  9. Sensitivity Analysis and Optimization Design of EMU Body
    PanZuo ·Dalian Jiaotong University ·2013 ·Master's thesis
  10. Estimation of Structural Vibration Fatigue Life with Temperature Involved
  11. Dynamics Modeling and Modal Analysis for the Rotor in Water Medium
  12. Research of Dynamic Simulation and Finite Element for Planetary Gear Reducer
    LiHuiYun ·Hebei University of Technology ·2013 ·Master's thesis
  13. The Intelligent Detection of Research and the Analysis of Simulation on Large Gear Wear
  14. Design and Research of Inner Chip Removal CNC Hinger Boring Machine
  15. The Dynamic Performance Study of Composite Thin-Walled Beams Based on the Finite Element Method
  16. Research on Sealing Performance Analysis of Press-fitting Mechanical Connector and Optimal Design of Connected Tool
    WeiZongLiang ·Harbin Engineering University ·2013 ·Master's thesis
  17. Strain Sensor Placement for Deformation of Antenna Structures
  18. The Characters’facial Expressions and Manners in Xin Dongwang’s Canvases
    LiZuo ·Shanxi University ·2012 ·Master's thesis
  19. Comparative study of the Japanese Auxiliary Verb "Xi" and Chinese auxiliary "Le"
    ChenZuo ·Southwest Jiaotong University ·2013 ·Master's thesis
  20. About "(and) investigation of +V I in" cross the structure