• DocumentCode
    3347963
  • Title

    Evolutionary generation of test data for path coverage with faults detection

  • Author

    Yan Zhang ; Dunwei Gong ; Yongjin Luo

  • Author_Institution
    Sch. of Inf. & Electr. Eng., China Univ. of Min. & Technol., Xuzhou, China
  • Volume
    4
  • fYear
    2011
  • fDate
    26-28 July 2011
  • Firstpage
    2086
  • Lastpage
    2090
  • Abstract
    The aim of software testing is to find faults in the program under test. Previous methods of path-oriented test data generation can generate test data traversing target paths, but they may not guarantee to find faults in the program. We present a method of evolutionary generation of test data for path coverage with faults detection in this paper. First, we establish a mathematical model of the problem considered in this paper, in which the number of faults detected in the path traversed by test data, and the risk level of faults are optimization objectives, and the approach level of the traversed path from the target one is a constraint. Then, we generate test data using a multi-objective evolutionary optimization algorithm with constraints. Finally, we apply the proposed method in a benchmark program bubble sort and an industrial program totinfo, and compare it with the traditional method. The experimental results conform that our method can generate test data that not only traverse the target path but also detect faults in it. Our achievement provides a novel way to generate test data for path coverage with faults detection.
  • Keywords
    evolutionary computation; mathematical analysis; program testing; software fault tolerance; data traversing target paths; fault detection; mathematical model; multiobjective evolutionary optimization algorithm; path-oriented test data generation; program under test; risk level; software testing; totinfo program; Educational institutions; Fault detection; Frequency division multiplexing; Instruments; Mathematical model; Optimization; Software testing; evolutionary optimization; faults detection; multi-objective; path coverage; software testing; test data;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Natural Computation (ICNC), 2011 Seventh International Conference on
  • Conference_Location
    Shanghai
  • ISSN
    2157-9555
  • Print_ISBN
    978-1-4244-9950-2
  • Type

    conf

  • DOI
    10.1109/ICNC.2011.6022397
  • Filename
    6022397