arrow
Return

Test data generation using genetic programming

delete2021-02-01
delete6
PRE
AI
M
M. Nosrati
H
Hassan Haghighi *
M
Mojtaba Vahidi Asl
DOI:10.1016/j.infsof.2020.106446delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context: Typically, search-based test data generation methods search on a population of program input values. Program input values can be regarded as solutions to underlying path constraints over program input parameters. One way to discover these path constraints is to use the symbolic execution method. Search-based methods attempt to find input values which are solutions to these path constraints, without knowing the actual constraints. Objective: In this paper, we show that we can search for the underlying path constraints using search-based methods, without resorting to symbolic execution. Trying to discover the exact or a good enough approximation of the underlying constraints may lead to a more targeted search, compared to directly searching for program input values. Besides, the construction of approximate constraints by searching may help to avoid some problems of symbolic execution. Method: The proposed method uses genetic programming for learning constraints on program input parameters. Results: To evaluate the performance of the proposed approach, a series of experiments have been conducted on a number of different benchmark programs. For 91.8% of benchmark programs, the proposed method achieved the best efficiency among the competitive algorithms. Conclusion: The results show that, if constraint solving can be provided for some or all parameter types of the methods of programs under test, our approach can improve the efficiency and effectiveness of search-based test data generation.
Keywords:
Genetic programming
Search-based test data generation
Evolutionary algorithms
Using Genetic Algorithms in Test Data Generation: A Critical Systematic Mapping
err2018-05-22
err20
PREAI
errRodrigues, Davi Silva; Delamaro, Marcio Eduardo; Correa, Cleber Gimenez; Nunes, Fatima L. S.
errShare
errSave
errShare
errSave
Using likely invariants for test data generation
err2020-06-01
err4
PREAI
errNosrati, M.; Haghighi, H.; Asl, M. Vahidi
errShare
errSave

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
9.5K

Organization

S
Shahid Beheshti University
Scholars:
428
Papers: 207
Citations: 3.2K
Cited Papers

Cited Papers

An empirical evaluation of evolutionary algorithms for unit test suite generation
err2018-12-01
err68
errOAAI
errCampos, Jose; Ge, Yan; Albunian, Nasser; Fraser, Gordon; Eler, Marcelo; Arcuri, Andrea
errShare
errSave
High glucose aggravates lipid deposition in glomerular endothelial cells by LXRs/LncRNAOR13C9/ABCA1 pathway
err
IF0
err2020-03-19
err0
PREAI
errShumin Xiao; Yao Wang; Saijun Zhou; Rui Zhang; Hongyan Liu; Yao Lin; Pei Yu
errShare
errSave
A Survey of Symbolic Execution Techniques
err2018-05-23
err410
errOAAI
errBaldoni, Roberto; Coppa, Emilio; D'Elia, Daniele Cono; Demetrescu, Camil; Finocchi, Irene
errShare
errSave
GenProg: A Generic Method for Automatic Software Repair
err2012-01-01
err594
PREAI
errLe Goues, Claire; ThanhVu Nguyen; Forrest, Stephanie; Weimer, Westley
errShare
errSave
Using likely invariants for test data generation
err2020-06-01
err4
PREAI
errNosrati, M.; Haghighi, H.; Asl, M. Vahidi
errShare
errSave
researcher View more