The Optimization of Metamorphic Testing Based on Equivalence Classes Partition

Author
ChenLeiLei
Advisor
LiuJiang
School
East China University of Science and Technology
Major
Applied Computer Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2014
Downloads
13
Citations
0

Request the full text

Abstract

The information contained in successful test cases is fully exploited and applied by metamorphic testing which can effectively solve the Oracle problem in traditional software testing. The two key elements that will impact metamorphosis testing results are the generation of original test case and the selection/generation metamorphic relationship, a test case generation criteria that based on equivalence class partition, ECCEM (Equivalence-Class Coverage for Every Metamorphic Relation), is proposed in this paper, the criteria involves the equivalence classes of program input domain and metamorphic relations, making the selection of the original test case with a certain purpose. To ensure the partition of equivalence classes having a complete coverage, a clipping rule of program execution path called CPC (Class Path Clipping) is proposed, which can detect whether the type of equivalence classes of program input domain have been completely cut. During the metamorphic testing, a new metrics that combines the utilization of test cases and the capability of mutation detection is proposed in order to comprehensively observing the effect of metamorphic testing. ECCEM criteria satisfiability algorithm improves the results of metamorphic testing, however, the number of original test cases cannot be standardized, this paper proposes two iterative metamorphic testing algorithms that are based on ECCEM criteria:ECCEM satisfiability single point iterative algorithm(ECSIST) and ECCEM satisfiability multi-point iterative algorithm (ECMIST), they both effectively reduce the number of generated test cases, thus improving the utilization of test cases and making the generation of test cases without blindness. Finally, based on the principle of composite function, composite metamorphic relations are constructed through a few simple metamorphic relationships in order to ensuring the ability of metamorphic relations while simplifying the generation of composite relationships which will improve the capability of mutation detection, and enhance the effect of metamorphic testing.

Table of contents

Abstract 5-6 Abstract 6-7 catalog 7-9 Chapter 1 Introduction 9-14 <br / > 1.1 Background status quo at home and abroad 1.2 development 9-11 main contents of 11-12 1.3 This article 12-13 1.4 chapters arrangements 13-14 Chapter 2 transformation test 14-19 2.1 concepts and terminology 14-16 2.1.1 regression test 14-15 2.1.2 basic concepts 15-16 2.2 transformation test architecture construct 16-17 2.3 transformation relations 17 -18 2.4 Chapter Summary 18-19 Chapter 3 equivalence partitioning based transformation test case generation 19-24 3.1 basic concepts 19 3.2 ECCEM guidelines define 19-21 3.3 cropped principle of equivalence classes of CPC 21-22 3.4 ECCEM satisfiability algorithm 22-23 3.5 Summary 23-24 Chapter 4, based on the regression test ECCEM guidelines 24-36 4.1 triangles TriSquare experiment metrics nbsp 24-28 4.2 transformation test ; 28 4.3 experimental results 28-35 4.4 Summary 35-36 <br / > Chapter 5 metamorphosis optimize the testing process 36-63 5.1 Introduction 36 5.2 based on iterative regression tests ECCEM guidelines 36-47 5.2.1 ECCEM meet iterative algorithm 37-42 5.2.2 experimental results 42-47 5.3 based transformation test complex transformation relations 47 -53 5.3.1 complex metamorphosis relationship 47-48 5.3.2 experimental results 48-53 5.4 MatDeterm program transformation test 53 -61 5.4.1 MatDeterm matrix program analysis 53-56 5.4.2 experimental results 56-61 5.5 chapter Summary 61- 63 Chapter 6 summary and Outlook 63-65 references 65-68 Thanks 68-69 Appendix for master papers published during 69

Related dissertations

  1. Identification Methods for a Class of Nonlinear Systems
    ChenJing ·Jiangnan University ·2013 ·Doctoral dissertation
  2. The Research of Path Planning and Collision Detection Method in Virtual Battlefield
    LiTeng ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  3. Research on OFDM and the Single Carrier Signal Modulation Recognition
    YangMingLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Measures of Genuine3-Qubit Entanglement for Graph States
  5. Iterative Algorithm and Convergence Analysis for Systems of Variational Inequalities
  6. Discussion of Related Problems of Fixed Point Theory
    DongHua ·Fujian Normal University ·2013 ·Master's thesis
  7. On Solvability and Iterative Approximations of a Functional Equation
    DongHaiJiang ·Liaoning Normal University ·2013 ·Master's thesis
  8. Multiple Scattering Reconstruction Numerical Algorithms
    ZhaoXueHui ·Donghua Polytechnic University ·2013 ·Master's thesis
  9. Studies on the Iterative Algorithms for Matrix Equation Solutions under Several Special Types Constraints
    LiuXianXia ·Hunan University ·2013 ·Doctoral dissertation
  10. Iterative Methods for the Reflexive Solution of Several Quaternion Matrix Equations
    LiNing ·Shanghai University ·2013 ·Doctoral dissertation
  11. Research on Inventory-Distribution Integrated Optimization for VMI Systems
    LiuYongWang ·Beijing Jiaotong University ·2012 ·Master's thesis
  12. Stability Analysis and Controller Design of Discrete Time Delay Systems
  13. H_∞Control and Robust Filtering Design for Uncertain Discrete Linear System
  14. A Research of Reconstruction Algorithms for Incomplete Projections Based on Compressed Sensing Theory
    ZhengYuanCai ·University of North ·2013 ·Master's thesis
  15. Research on an Improved COID
    ChenRong ·Taiyuan University of Technology ·2013 ·Master's thesis
  16. A Metamorphic Tesitng Framework for Web Services
  17. Phase Retrieval Algorithm Based on Non-interferometry Optical Filed
    WuHaiYan ·Anhui University ·2012 ·Master's thesis
  18. Research on Simulation Technique of Ground and Sea Clutter
    LvShiFang ·Jiangnan University ·2012 ·Master's thesis
  19. The Research on JPEG XR Rate Contorl Algorithm
  20. Efficient Transmission Schemes and Resource Management for Interference Channels