IEEE Access (Jan 2020)

Test Suit Generation for Object Oriented Programs: A Hybrid Firefly and Differential Evolution Approach

  • Madhumita Panda,
  • Sujata Dash,
  • Anand Nayyar,
  • Muhammad Bilal,
  • Raja Majid Mehmood

DOI
https://doi.org/10.1109/ACCESS.2020.3026911
Journal volume & issue
Vol. 8
pp. 179167 – 179188

Abstract

Read online

In model-based testing, the test suites are derived from design models of system specification documents instead of actual program codes to reduce cost and time of testing. In search-based software testing approach, the nature inspired meta-heuristic search algorithms are used for automating and optimizing the test suite generation process of software testing. This paper proposes a concrete model-based testing framework; using UML behavioral state chart model along with the hybrid version of the two most popular nature inspired algorithms, Firefly algorithm (FA) and Differential Algorithm (DE). The hybrid algorithm is adopted to generate optimized test suits for the benchmark triangle classification problem. Experimental results evidently show that the hybrid FA-DE search algorithm outperforms the individual model-based Firefly and Differential Evolution algorithm's performances in terms of time complexity, better exploration and exploitation as well as variations in test case generation process. The framework generates optimized test data for complete transition path coverage of the available feasible paths of the example problem.

Keywords