Optimum Test Suite Using Fault-Type Coverage-Based Ant Colony Optimization Algorithm

Optimum Test Suite Using Fault-Type Coverage-Based Ant Colony Optimization Algorithm

M. Bharathi
Copyright: © 2022 |Pages: 23
DOI: 10.4018/IJAMC.2022010106
Article PDF Download
Open access articles are freely available for download

Abstract

Software Product Lines(SPLs) covers a mixture of features for testing Software Application Program(SPA). Testing cost reduction is a major metric of software testing. In combinatorial testing(CT), maximization of fault type coverage and test suite reduction plays a key role to reduce the testing cost of SPA. Metaheuristic Genetic Algorithm(GA) do not offer best outcome for test suite optimization problem due to mutation operation and required more computational time. So, Fault-Type Coverage Based Ant Colony Optimization(FTCBACO) algorithm is offered for test suite reduction in CT. FTCBACO algorithm starts with test cases in test suite and assign separate ant to each test case. Ants elect best test cases by updating of pheromone trails and selection of higher probability trails. Best test case path of ant with least time are taken as optimal solution for performing CT. Hence, FTCBACO Technique enriches reduction rate of test suite and minimizes computational time of reducing test cases efficiently for CT.
Article Preview
Top

1. Introduction

Software testing is one of the most eminent phase of software development. Main target of software testing is to recognize faults and imperfections arise in software product lines under development. Currently, software testing utilizes additional time and cost consumed on software development. While testing time decreases, testing cost may decrease rapidly. Now a days, software may be published without being checked properly due to market pressure and preplan of software developers to save time and reduce cost spent on software development. Hence, software testers should construct best test cases that discover most of the faults and defects in the software product within the scheduled testing time. Interactions between the pair of features play a key role for constructing best test cases. Combinatorial testing is one of software testing technique to find the interactions between the pair of features in software product line. Additionally, CT reduces the quantity of pair of feature combinations required to check software system excellence as compared to exhaustive testing. Test suite optimization plays essential role to reduce the testing cost of SPA without corrupting their quality factors in CT. So, this investigation work aims test suite optimization proficiently for increasing the ability of CT.

To conduct this research, we have found two different heuristic algorithms called algorithm (Li at el., 2007) Greedy Strategy based and (M.Bharathi & V.Sangeetha, 2019) Genetic algorithm(GA) as baseline algorithms. In Greedy approach (Li at el., 2007), test cases are assembled in downward order based on their fault coverage ability and start with test cases that cover maximum amount of faults till either all the faults are reported or test adequacy condition is met. Genetic algorithm (M.Bharathi & V.Sangeetha, 2019) reduces the test cases in test suite yet it does not deliver optimal solution for test suite optimization problem due to mutation operation. Moreover, GA involves several operations like fitness evaluation, selection, crossover, mutation. As an outcome, high computational time is required for test suite optimization problem.

To resolve the above quoted issues in test suite optimization problem using GA, novel Fault-Type Coverage Based Ant Colony Optimization (FTCBACO) algorithm Technique is proposed. FTCBACO algorithm is constructed based on highest faults-type coverage analysis and find an efficient optimum results. The main contribution of proposed technique is,

  • To enrich the capability of test suite reduction for CT.

  • To rise the test suite reduction rate and to cut the computational time of CT compared with genetic algorithm.

  • To optimize test cases in test suite in terms of utmost faults type coverage and least execution time.

The research work of this paper is drawn as follows. An overview of related work is presented in Section 2. Section 3 explains proposed FTCBACO for test suite optimization problem. Section 4 exhibits the experimental settings. Section 5 reports the outcomes and discussions. In section 6, we conclude this paper.

Top

2.Related Works

A several investigation works have been designed to resolve the test suite optimization problems in combinatorial testing. proposed Similarity-based test suite reduction for model-based testing was introduced in (Ana Emilia Victor Barbosa Coutinho et al., 2016) . But, this strategy reported poor test suite reduction rate. A regression based test case selection method with aim of shrinking the quantity of test cases for regression testing was introduced in (Tamal Sen & Rajib Mall, 2012). But, it required more time to optimize the test cases in a test suite. Several procedures have reviewed for test suite minimization for improving the quality of software metrics in (Shilpi Singh & Raj Shree, 2016).

Complete Article List

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