A Testability Transformation Approach for State-Based Programs

  • Authors:
  • AbdulSalam Kalaji;Robert Mark Hierons;Stephen Swift

  • Affiliations:
  • -;-;-

  • Venue:
  • SSBSE '09 Proceedings of the 2009 1st International Symposium on Search Based Software Engineering
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Search based testing approaches are efficient in test data generation; however they are likely to perform poorly when applied to programs with state variables. The problem arises when the target function includes guards that reference some of the program state variables whose values depend on previous function calls. Thus, merely considering the target function to derive test data is not sufficient. This paper introduces a testability transformation approach based on the analysis of control and data flow dependencies to bypass the state variable problem. It achieves this by eliminating state variables from guards and/ or determining which functions to call in order to satisfy guards with state variables. A number of experiments demonstrate the value of the proposed approach.