• DocumentCode
    1581743
  • Title

    Improving Evolutionary Testing in the Presence of Function-Assigned Flags

  • Author

    Wappler, Stefan ; Baresel, André ; Wegener, Joachim

  • Author_Institution
    Tech. Univ. of Berlin, Berlin
  • fYear
    2007
  • Firstpage
    23
  • Lastpage
    34
  • Abstract
    Evolutionary structural testing, an approach to automatically generating relevant unit test cases, encounters difficulties when the tested software contains boolean variables. This issue, known as the flag problem, has been studied by many researchers. However, previous work does not address the issue of function-assigned flags which constitutes a special type of the flag problem that often occurs in the context of object-orientation. This paper elaborates on a new approach to the flag problem that can also handle function-assigned flags while being applicable to the conventional flag problem, as well. It relies on a code transformation that leads to an improved fitness landscape which provides better guidance to the evolutionary search. We present four case studies including a fitness landscape analysis and empirical results. The results show that the suggested code transformation improves evolutionary structural testing in the presence of function-assigned flags.
  • Keywords
    evolutionary computation; object-oriented programming; program testing; search problems; boolean variable; code transformation; evolutionary structural testing; fitness landscape analysis; function-assigned flag; object-orientation context; Automatic testing; Biological information theory; Computer industry; Evolution (biology); Evolutionary computation; Java; Lead; Search problems; Software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Testing: Academic and Industrial Conference Practice and Research Techniques - MUTATION, 2007. TAICPART-MUTATION 2007
  • Conference_Location
    Windsor
  • Print_ISBN
    978-0-7695-2984-4
  • Type

    conf

  • DOI
    10.1109/TAIC.PART.2007.25
  • Filename
    4344095