• Home
  • Search
  • Generating test data for both path coverage and fault detection using genetic algorithms
  • Cite Icon19
  • https://doi.org/10.1007/s11704-013-3024-3Copy DOI Icon

Generating test data for both path coverage and fault detection using genetic algorithms

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The aim of software testing is to find faults in a program under test, so generating test data that can expose the faults of a program is very important. To date, current studies on generating test data for path coverage do not perform well in detecting low probability faults on the covered path. The automatic generation of test data for both path coverage and fault detection using genetic algorithms is the focus of this study. To this end, the problem is first formulated as a bi-objective optimization problem with one constraint whose objectives are the number of faults detected in the traversed path and the risk level of these faults, and whose constraint is that the traversed path must be the target path. An evolutionary algorithmis employed to solve the formulatedmodel, and several types of fault detectionmethods are given. Finally, the proposed method is applied to several real-world programs, and compared with a random method and evolutionary optimization method in the following three aspects: the number of generations and the time consumption needed to generate desired test data, and the success rate of detecting faults. The experimental results confirm that the proposed method can effectively generate test data that not only traverse the target path but also detect faults lying in it.

Similar Papers
  • Conference Article
  • Citations7

Evolutionary generation of test data for many paths coverage

  • May 01, 2010
  • Wan-Qiu Zhang +3
  • Conference Article
  • Citations5

Evolutionary generation of test data for path coverage with faults detection

  • Jul 01, 2011
  • Yan Zhang +2
  • Research Article
  • Citations11

Genetic algorithm based test data generation for MPI parallel programs with blocking communication

  • Apr 12, 2019
  • Journal of Systems and Software
  • Tian Tian +3
  • Research Article
  • Citations36

Test data generation for path coverage of message-passing parallel programs based on co-evolutionary genetic algorithms

  • Nov 19, 2014
  • Automated Software Engineering
  • Tian Tian +1
  • Book Chapter
  • Citations5

Generating Test Data for Path Coverage Based Testing Using Genetic Algorithms

  • Sep 24, 2013
  • Madhumita Panda +1
  • Research Article

Generating Test Data for Path Coverage Based on Genetic Algorithm

  • Jan 01, 2020
  • IOP Conference Series: Materials Science and Engineering
  • Shuping Fan +5
  • Research Article
  • Citations1

Evolutionary generation of test data for path coverage through selecting target paths based on coverage difficulty

  • Nov 26, 2014
  • Journal of ZheJiang University (Engineering Science)
  • Gong Dun-Wei Tian Tian
  • Book Chapter
  • Citations1

Evolutionary Generation of Test Data Based on Reduction of Initial Population Data

  • Sep 08, 2019
  • Wei Gao +2
  • Research Article
  • Citations10

Evolutionary Generation of Test Data for Paths Coverage Based on Scarce Data Capturing

  • Mar 20, 2014
  • Chinese Journal of Computers
  • Yan Zhang +1
  • Book Chapter
  • Citations2

Generating Test Data for Both Paths Coverage and Faults Detection Using Genetic Algorithms

  • Jan 01, 2012
  • Dun-Wei Gong +1
  • Research Article
  • Citations7

PERFORMANCE ANALYSIS OF TEST DATA GENERATION FOR PATH COVERAGE BASED TESTING USING THREE METAHEURISTIC ALGORITHMS

  • Jul 01, 2014
  • International Journal of Computer Science and Informatics
  • Madhumita Panda +1
  • Research Article
  • Citations2

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

  • Jul 01, 2018
  • Journal of AI and Data Mining
  • M A Saadtjoo +1
  • Book Chapter
  • Citations3

Automatic Test Data Generation Using Bio-Inspired Algorithms

  • Jan 01, 2018
  • Madhumita Panda +1
  • Book Chapter

Automatic Test Data Generation Using Bio-Inspired Algorithms

  • Jan 01, 2021
  • Madhumita Panda +1
  • Research Article

Software Test Data Generation based on Path Testing using Genetic Algorithms

  • Mar 30, 2020
  • International Journal of Recent Technology and Engineering (IJRTE)
  • Tina Sachdeva* +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.