• DocumentCode
    2709069
  • Title

    Function Call Flow based Fitness Function Design in Evolutionary Testing

  • Author

    Liu, Xiyang ; Zhang, Miao ; Bai, Zhiwen ; Wang, Lei ; Du, Wen ; Wang, Yan

  • Author_Institution
    Xidian Univ., Shaanxi
  • fYear
    2007
  • fDate
    4-7 Dec. 2007
  • Firstpage
    57
  • Lastpage
    64
  • Abstract
    Evolutionary Testing has been shown a promising technology for the automatic test data generation. It reformulates test data generation as a metaheuristic search. A well- designed fitness function is essential to the efficiency of evolutionary search. Many efforts have been directed at the design and implementation of fitness function in recent years. However, previous work has just focused on the control dependency of the target on the branches in the same function. When function calls exist in the desired execution trace to the target, the evaluation of the test data on the coverage of these function calls, which should be provided to the evolutionary search, is not captured by the existing fitness function. In this case, the existing fitness function can not fairly evaluate the test data. And the evolutionary search will be hampered or even fail in severe cases. In this paper, a new term is first proposed to incorporate into the existing fitness function. It is applied to evaluate the test data´s coverage of function calls along the desired path to the target. The new fitness function can evaluate the test data more fairly, resulting in a better guidance to the evolutionary search. This can be seen by the experiments carried out on two cases.
  • Keywords
    evolutionary computation; program testing; search problems; automatic test data generation; evolutionary search; evolutionary testing; fitness function; function call flow; metaheuristic search; Automatic control; Automatic testing; Automation; Data mining; Evolutionary computation; Programming; Search methods; Software engineering; Software standards; Software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2007. APSEC 2007. 14th Asia-Pacific
  • Conference_Location
    Aichi
  • ISSN
    1530-1362
  • Print_ISBN
    0-7695-3057-5
  • Type

    conf

  • DOI
    10.1109/ASPEC.2007.13
  • Filename
    4425837