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
- Metamorphic testing
- ECCEM criteria
- Clipping rule
- Iterative algorithm
- Composite metamorphic relations
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
- Identification Methods for a Class of Nonlinear Systems
- The Research of Path Planning and Collision Detection Method in Virtual Battlefield
- Research on OFDM and the Single Carrier Signal Modulation Recognition
- Measures of Genuine3-Qubit Entanglement for Graph States
- Iterative Algorithm and Convergence Analysis for Systems of Variational Inequalities
- Discussion of Related Problems of Fixed Point Theory
- On Solvability and Iterative Approximations of a Functional Equation
- Multiple Scattering Reconstruction Numerical Algorithms
- Studies on the Iterative Algorithms for Matrix Equation Solutions under Several Special Types Constraints
- Iterative Methods for the Reflexive Solution of Several Quaternion Matrix Equations
- Research on Inventory-Distribution Integrated Optimization for VMI Systems
- Stability Analysis and Controller Design of Discrete Time Delay Systems
- H_∞Control and Robust Filtering Design for Uncertain Discrete Linear System
- A Research of Reconstruction Algorithms for Incomplete Projections Based on Compressed Sensing Theory
- Research on an Improved COID
- A Metamorphic Tesitng Framework for Web Services
- Phase Retrieval Algorithm Based on Non-interferometry Optical Filed
- Research on Simulation Technique of Ground and Sea Clutter
- The Research on JPEG XR Rate Contorl Algorithm
- Efficient Transmission Schemes and Resource Management for Interference Channels