• DocumentCode
    1573058
  • Title

    Automatic test data generation model by combining dataflow analysis with genetic algorithm

  • Author

    Deng, Mingjie ; Chen, Rong ; Du, Zhenjun

  • Author_Institution
    Sch. of Inf. Sci. & Technol., Dalian Maritime Univ., Dalian, China
  • fYear
    2009
  • Firstpage
    429
  • Lastpage
    434
  • Abstract
    Dataflow techniques have been widely applied to test the object-oriented software, but the existing techniques mainly care how to arrange method sequence to test, not paying attention to how to generate test data automatically. Although the existing random test data generators can create test data automatically, yet information about the test requirement is not incorporated into the generation process, it may fail to find data to satisfy the requirements. This paper presents an automatic test data generation model that combine genetic algorithm (GA) with dataflow analysis. The model applies Control Flow Graph (CFG) which is partitioned into proper blocks to aid data flow analysis. Data Type Graph (DTG) presented in this paper facilitates the constructing of an object to realize automatic testing. Due to the search function of genetic algorithm, it improves the efficiency of test data generation. The experimental results prove our model to be more effective in test data generation and in coverage of dataflow than the random algorithm, showing the applicable significance of the model in software testing for both desktop and embedded systems.
  • Keywords
    data flow analysis; data flow graphs; embedded systems; genetic algorithms; object-oriented programming; program testing; automatic test data generation model; control flow graph; data type graph; dataflow analysis; embedded systems; genetic algorithm; object-oriented software; search function; software testing; Algorithm design and analysis; Automatic control; Automatic testing; Data analysis; Flow graphs; Genetic algorithms; Object oriented modeling; Software algorithms; Software testing; System testing; CFG; automatic test; data type graph; dataflow testing; genetic algorithm;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Pervasive Computing (JCPC), 2009 Joint Conferences on
  • Conference_Location
    Tamsui, Taipei
  • Print_ISBN
    978-1-4244-5227-9
  • Electronic_ISBN
    978-1-4244-5228-6
  • Type

    conf

  • DOI
    10.1109/JCPC.2009.5420148
  • Filename
    5420148