ABC-CAG: Covering Array Generator for Pair-wise Testing Using Artificial Bee Colony Algorithm

Journal Title: e-Informatica Software Engineering Journal - Year 2016, Vol 10, Issue 1

Abstract

Testing is an indispensable part of the software development life cycle. It is performed to improve the performance, quality and reliability of the software. Various types of testing such as functional testing and structural testing are performed on software to uncover the faults caused by an incorrect code, interaction of input parameters, etc. One of the major factors in deciding the quality of testing is the design of relevant test cases which is crucial for the success of testing. In this paper we concentrate on generating test cases to uncover faults caused by the interaction of input parameters. It is advisable to perform thorough testing but the number of test cases grows exponentially with the increase in the number of input parameters, which makes exhaustive testing of interaction of input parameters imprudent. An alternative to exhaustive testing is combinatorial interaction testing (CIT) which requires that every $t$-way interaction of input parameters be covered by at least one test case. Here, we present a novel strategy ABC-CAG (Artificial Bee Colony-Covering Array Generator) based on the Artificial Bee Colony (ABC) algorithm to generate covering an array and a mixed covering array for pair-wise testing. The proposed ABC-CAG strategy is implemented in a tool and experiments are conducted on various benchmark problems to evaluate the efficacy of the proposed approach. Experimental results show that ABC-CAG generates better/comparable results as compared to the existing state-of-the-art algorithms.

Authors and Affiliations

Priti Bansal, Sangeeta Sabharwal, Nitish Mittal, Sarthak Arora

Keywords

Related Articles

Measuring Goal-Oriented Requirements Language Actor Stability

Background: Goal models describe interests, preferences, intentions, desired goals and strategies of intervening stakeholders during the early requirements engineering stage. When capturing the requirements of real-world...

Reducing the Number of Higher-order Mutants with the Aid of Data Flow

Higher-order mutants are created by injecting two or more mutations into the original program, while first-order mutants are generated by seeding single faults in the original program. Mutant generation is a key stage of...

Cross-Project Defect Prediction with Respect to Code Ownership Model: An Empirical Study

The paper presents an analysis of 83 versions of industrial, open-source and academic projects. We have empirically evaluated whether those project types constitute separate classes of projects with regard to defect pred...

ECLogger: Cross-Project Catch-Block Logging Prediction Using Ensemble of Classifiers

Background: Software developers insert log statements in the source code to record program execution information. However, optimizing the number of log statements in the source code is challenging. Machine learning based...

Experience Report: Towards Extending an OSEK-Compliant RTOS with Mixed Criticality Support

Background: With an increase of the number of features in a vehicle, the computational requirements also increase, and vehicles may contain up to 100 Electronic Control Units (ECUs) to accommodate these requirements. For...

Download PDF file
  • EP ID EP201183
  • DOI 10.5277/e-Inf160101
  • Views 97
  • Downloads 0

How To Cite

Priti Bansal, Sangeeta Sabharwal, Nitish Mittal, Sarthak Arora (2016). ABC-CAG: Covering Array Generator for Pair-wise Testing Using Artificial Bee Colony Algorithm. e-Informatica Software Engineering Journal, 10(1), 9-29. https://europub.co.uk/articles/-A-201183