Metamorphic Testing Research Based on Circling FSCS

Author
GengJiZuo
Advisor
ZhangJiongMin
School
East China Normal University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
19
Citations
0

Request the full text

Abstract

With the increasement of software scale and complexity, software testing plays a more important role in cost control and software reliability, and hence gains more and more attention. Effectiveness of test cases and oracle problem are two major issues in software testing.Among the methods of generating appropriate test cases, Random Testing is the simplest one. Test cases are generated randomly from the input domain. Hence it has been widely used in software testing.However, it has poor effectiveness.Recently, Adaptive Random Testing (ART) proposed by T.Y.Chen is a significant improvement of random testing. Of all the implementations of ART, FSCS algorithm is the most classic one.However, "Boundary Effect" has a bad influence on the effectiveness of FSCS,particularly when the input domain is high-dimensional.As a result, we propose Circling FSCS algorithm to solve "Boundary Effect" and improves the efficiency of FSCS.In software testing, testers are always unable to determine the correctness of program outputs, which is called oracle problem. Metamorphic testing (MT) is proposed by T.Y.Chen to resolve the problem. MT tests a program by checking the relations among series of test cases’outputs.Among the factors that affect MT results, Original test cases and metamorphic relations are two very important ones. In this paper we use Circling FSCS algorithm as initial case generation strategies to select more typical test cases, and provide a testing tool (AMT) to combine different metamorphic relations.It turns out to be that MT performs better.Although MT has been widely used in software testing due to the simplicity and practicality, it still needs proper tools.Based on the above ideas, we build a tool called AMT (Auto-MT), which facilitates MT and improves testing efficiency. It generates test cases based on Adaptive Random testing and supports compound metamorphic relations.Moreover, it is an open system which also provides an interface to add new original test case generation strategies.

Table of contents

Abstract 6-7 ABSTRACT 7-10 The first chapter 10-12 Chapter II Software Testing Overview 12-17 2.1 software testing 12-13 2.2 software testing of the key issues 13-14 2.2.1 test suite reliability problems 13 2.2.2 Oracle issues 13-14 2.4 Random Testing 14 2.5 Regression Test 14-15 2.6 dig test \ 2.7 software testing tools 15-17 Chapter adaptive random testing 17-26 3.1 Adaptive Random Testing Algorithms 17-19 3.2 FSCS algorithm 19-20 3.3 Other adaptive random testing algorithm 20-24 3.3.1 IP 20-21 3.3.2 IDI-FSCS 21-22 3.3.3 Mirror-ART 22-23 3.3.4 ART by Random Partitioning 23-24 3.4 FSCS algorithm boundary effects 24-26 Chapter IV regression test 26-31 4.1 Overview 26-29 4.1.1 Transformation Relations 27-29 4.1.2 original use case studies 29 4.2 regression test tool development 29-31 Chapter transformation based on adaptive random testing Testing Tools - AMT 31-46 5.1 AMT overall structure 31-32 5.2 test object parsing 32-36 5.2.1 build test object 32-34 5.2.2 The distance between the test 34-35 5.2.3 test cases randomly generated 35-36 5.3 original use case generation strategy 36-38 5.4 Relationship between the expression of transformation and parsing 38-42 5.4.1 Relationship between the expression of transformation 38-39 5.4.2 analytic transformation relations 39-41 5.4.3 composite transformation relations to achieve 41-42 5.5 AMT application examples 42-46 Chapter FSCS distance-based boundary effects and solutions 46-54 6.1 to solve the \ 6.1.1 zoning laws 46-48 6.1.2 virtual image France 48-50 6.2 annular FSCS algorithm 50-54 6.2.1 The basic idea of ??the ring FSCS 50-52 6.2.2 Experiment and results analysis 52-54 Chapter Summary and Outlook 54-56 References 56-60 papers published during the study for a degree 60-61 Thanks 61

Related dissertations

  1. The Research of Boundary Effect and Operational Costs in FSCS
    WangWeiFeng ·East China Normal University ·2010 ·Master's thesis
  2. The Optimization of Metamorphic Testing Based on Equivalence Classes Partition
  3. A Metamorphic Tesitng Framework for Web Services
  4. The Research of Adaptive Random Testing
    ChenYongXiang ·East China Normal University ·2009 ·Master's thesis
  5. The Design and Implementation of Test Case Generating System Based on Predicate Information
    JiChangBin ·Nanjing University ·2011 ·Master's thesis