Evolutionary Generation of Test Data for Regression Testing Based on Path Correlation

Chuan WU,Dun-Wei GONG
DOI: https://doi.org/10.11897/SP.J.1016.2015.02247
2015-01-01
Abstract:Regression testing is an important method of software testing.However,there has been no effective method of choosing test objects and making full use of existing test data.This paper,focusing on the problem of generating test data for regression testing,proposes a new effective evolutionary generation approach of test data based on path correlation for regression testing.In our method,firstly,the target paths are sorted according to the correlation matrix between paths and nodes,and a novel mathematical model is built for generating regression test data that cover affected paths based on the matrix.Then,when solving the above model using genetic algorithms,test data that have traversed the existing target paths are coded and employed to replace a part of individuals of the current population.Finally,the proposed method was applied to several benchmarks and industrial programs,and compared with other test data generation methods for regression testing.Our experimental results showed that our method can effectively improve the efficiency of test data generation.
What problem does this paper attempt to address?