On the Application of Quick Artificial Bee Colony Algorithm (qABC) for Attenuation of Test Suite in Real-Time Software Applications

On the Application of Quick Artificial Bee Colony Algorithm (qABC) for Attenuation of Test Suite in Real-Time Software Applications

Jeya Mala D., Ramalakshmi Prabha
Copyright: © 2023 |Pages: 23
DOI: 10.4018/IJIIT.318673
Article PDF Download
Open access articles are freely available for download

Abstract

Software testing plays a vital role during the software development process, as it ensures quality software deployment. Success of software testing depends on the design of effective test cases. To achieve the optimization of generated test cases, the proposed approach combines both global and local searches by means of intelligent agents which exhibit the behaviour of employed bees, onlooker bees, and scout bees in the qABC algorithm. The proposed qABC algorithm has key improvements over the basic artificial bee colony algorithm (ABC) in test optimization by reducing redundancy, filtering of test cases in each iteration and parallel working of the bees. Further, the fitness evaluation of the test cases is done by employing two test adequacy metrics namely path coverage and mutation score. Further, the experimental evaluation of qABC, GA, and the basic ABC based test cases is done using several case study applications. The result shows that qABC outperforms the other algorithms in terms of effectiveness of test cases in revealing the faults with less time and a smaller number of test cases.
Article Preview
Top

Introduction

Every software industry is expected to deliver quality products to satisfy their customers and to compete in the market. Software testing is one of the ways of improving software quality. As per 40-20-40 principle, software development devotes 40% of aggregate time for project analysis and design, 20% for programming and the remaining 40% for testing (Pressman, 2005).

According to IEEE, software testing is defined as the process of operating a system or component under specified conditions, observing or recording the results, and making an evaluation of some aspects of the system or component (IEEE Standard 610.12-1990). Which clearly indicates that a better testing approach ought to be emulated by the industries for producing better products. The quality of testing depends on the design of effective test cases.

Figure 1.

40 -20-40 principle

IJIIT.318673.f01

The testing process is a time consuming one because it involves human resources more and more. Even though several testing tools are available in the market; the industries still continue the traditional manual writing test cases for the attainment of expected goal. So, the industries are in need to perform testing effectively within reasonable time.

The researchers usually preferred the evolutionary algorithm and swarm-based algorithm to find the solution for real world optimization problem- especially NP hard problems. Test case generation can also be non-deterministic (NP-hard) problem (Karaboga & Gorkemli, 2014). Hence this paper proposed a novel methodology for automatic generation of test data by using quick Artificial Bee Colony algorithm (qABC) which extends the functionality of the ABC algorithm.

Artificial Bee Colony (ABC) algorithm is a population based Swarm Intellgence (SI) algorithm designed by Karaboga (2014). ABC simulates the behaviour of foraging and waggle dance of the honeybees in nature (Karaboga & Basturk 2008). This algorithm consists of three types of artificial bees namely employed bees, onlooker bees and scout bees. ABC algorithm produces better results in many applications such as decision making, transportation problem etc. It is also used in test case generation. It generates the test cases effectively. (DJ Mala, 2017),

However, the proposed qABC improves the ABC algorithm in terms of generating effective test cases within a short period. qABC utilizes three bees as in ABC for generating test cases. The changes are introduced in Onlooker bees’ behaviour and redundancy removal techniques are applied which is not available in basic or traditional ABC. In this way, ABC generates the test cases faster and accurately. Because coverage-based metrics will reveal errors effectively here, path coverage and mutation score are taken as test adequacy criteria. In this paper, qABC algorithm is explained in detail and then its performance is assessed by evaluating it on a set of test problems. Also, the performance of qABC is compared with other evolutionary algorithms. The results show that its performance is better than other evolutionary algorithms.

Top

Background

This section briefs the definition relevant to the key terms used in the proposed approach.

Complete Article List

Search this Journal:
Reset
Volume 20: 1 Issue (2024)
Volume 19: 1 Issue (2023)
Volume 18: 4 Issues (2022): 3 Released, 1 Forthcoming
Volume 17: 4 Issues (2021)
Volume 16: 4 Issues (2020)
Volume 15: 4 Issues (2019)
Volume 14: 4 Issues (2018)
Volume 13: 4 Issues (2017)
Volume 12: 4 Issues (2016)
Volume 11: 4 Issues (2015)
Volume 10: 4 Issues (2014)
Volume 9: 4 Issues (2013)
Volume 8: 4 Issues (2012)
Volume 7: 4 Issues (2011)
Volume 6: 4 Issues (2010)
Volume 5: 4 Issues (2009)
Volume 4: 4 Issues (2008)
Volume 3: 4 Issues (2007)
Volume 2: 4 Issues (2006)
Volume 1: 4 Issues (2005)
View Complete Journal Contents Listing