Evolutionary testing of software with function-assigned flags

  • Authors:
  • Stefan Wappler;Joachim Wegener;André Baresel

  • Affiliations:
  • Berner & Mattner Systemtechnik GmbH, Berlin, Germany;Berner & Mattner Systemtechnik GmbH, Berlin, Germany;QVI Tech GmbH, Berlin, Germany

  • Venue:
  • Journal of Systems and Software
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Evolutionary structural testing, an approach to automatically generate relevant unit test data, encounters difficulties when the software being tested 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 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 seven case studies including a fitness landscape analysis and experimental results. The results show that the suggested code transformation improves evolutionary structural testing in the presence of function-assigned flags.