Loading…

An approach for test data generation using program slicing and particle swarm optimization

Heuristic search-based test data generation has a potential higher efficiency in software testing with path covering. However, these approaches are suffered in covering the long and complex path. In this paper, we propose a method for generating test data based on program slicing and particle swarm...

Full description

Saved in:
Bibliographic Details
Published in:Neural computing & applications 2014-12, Vol.25 (7-8), p.2047-2055
Main Authors: Jiang, Shujuan, Yi, Dandan, Ju, Xiaolin, Wang, Lingsai, Liu, Yingqi
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Heuristic search-based test data generation has a potential higher efficiency in software testing with path covering. However, these approaches are suffered in covering the long and complex path. In this paper, we propose a method for generating test data based on program slicing and particle swarm optimization. With the interest points selected from a target path, we perform a program slicing to remove the statements which are irrelevant to the interest points. Our method simplifies the target path and the actual path to get a better fitness value. After program slices obtained, the population is evolved using particle swarm optimization to improve the efficiency of test data generation.
ISSN:0941-0643
1433-3058
DOI:10.1007/s00521-014-1692-z