Tehnički Vjesnik (Jan 2022)

A Study of Wolf Pack Algorithm for Test Suite Reduction

  • Zemin Li,
  • Shaobo Lei,
  • Fugui Tan,
  • Yupeng Liu,
  • Bin Xiao,
  • Xin Huang,
  • Xu Ren

DOI
https://doi.org/10.17559/TV-20220328054159
Journal volume & issue
Vol. 29, no. 5
pp. 1522 – 1527

Abstract

Read online

Modern smart meter programs are iterating at an ever-increasing rate, placing higher demands on the software testing of smart meters. How to reduce the cost of software testing has become a focus of current research. The reduction of test overhead is the most intuitive way to reduce the cost of software testing. Test suite reduction is one of the necessary means to reduce test overhead. This paper proposes a smart meter test suite reduction technique based on Wolf Pack Algorithm. First, the algorithm uses the binary optimization set coverage problem to represent the test suite reduction of the smart meter program; then, the Wolf Pack Algorithm is improved by converting the positions of individual wolves into a 0/1 matrix; finally, the optimal test case subset is obtained by iteration. By simulating different smart meter programs and different size test suites, the experimental result shows that the Wolf Pack Algorithm achieves better results compared to similar algorithms in terms of the percentage of obtaining both the optimal solution and the optimal subset of test overhead.

Keywords