• DocumentCode
    2304183
  • Title

    Automatic Generating All-Path Test Data of a Program Based on PSO

  • Author

    Li, Aiguo ; Zhang, Yanli

  • Author_Institution
    Sch. of Comput. Sci., Xi´´an Univ. of Sci. & Technol., Xi´´an, China
  • Volume
    4
  • fYear
    2009
  • fDate
    19-21 May 2009
  • Firstpage
    189
  • Lastpage
    193
  • Abstract
    Generating path test data is one of hot points in the research field of software test. Automatic path test data generation is vital to improve the efficiency of path test and reduce test cost. Particle swarm optimization (PSO) is employed to generate automatically path test data in this paper. Automatic all paths test data generation of a program is challenged. Based on PSO, a method of generating all paths test data of a program is presented. A new fitness function is constructed, and the frequencies for all paths are registered. Generation results show that the efficiency has the enhancement of all paths test data generation compared with single path test data generation.
  • Keywords
    optimisation; program testing; PSO; automatic generating all-path test data; particle swarm optimization; software testing; Automatic testing; Computer science; Costs; Data analysis; Frequency; Genetic algorithms; Particle swarm optimization; Random number generation; Software engineering; Software testing; PSO; Software testing; path test data generating;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 2009. WCSE '09. WRI World Congress on
  • Conference_Location
    Xiamen
  • Print_ISBN
    978-0-7695-3570-8
  • Type

    conf

  • DOI
    10.1109/WCSE.2009.98
  • Filename
    5319531