Refining a One-Parameter-at-a-Time Approach Using Harmony Search for Optimizing Test Suite Size in Combinatorial T-Way Testing
Open Access
- 23 September 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 137373-137398
Abstract
In the pursuit of software quality, testing plays a pivotal role in identifying and rectifying errors and defects before software is delivered to users. However, the increasing complexity of modern software, driven by diverse user needs, has resulted in numerous input functions and options. While exhaustive testing remains ideal, practical limitations in terms of time and cost impede exhaustive efforts. To address these challenges, researchers have turned to metaheuristic algorithms to formulate effective t-way testing strategies, wherein ’t’ denotes parameter interaction strength. These strategies encompass a range of exploitation and exploration techniques for generating test data. Despite these advancements, challenges persist in test case generation, such as enhancing software quality through parameter seeding and managing combinatorial explosion by understanding parameter constraints among system elements. Though existing metaheuristic-based t-way strategies offer valuable insights, none reign supreme over their counterparts. To bridge this gap, this article introduces a pioneering approach called SCHOP, integrating seeding and constraint supports within a harmony search algorithm by adopting a one-parameter-at-a-time approach. Benchmarking results illustrate the competitive performance of SCHOP across well-known benchmarking configurations against other strategies. SCHOP’s benchmarking results showed success in 61.07% of cases, with 80 out of 131 entries performing well. However, there were 51 instances of suboptimal test suite sizes (38.93%). Further analysis revealed statistical significance in 12 out of 61 cases, with 48 out of 61 cases showing no significant difference, all at a 95% confidence level (α=0.05). Finally, SCHOP concurrently integrates seeding and constraint support within the harmony search algorithm to boost software quality while reducing the test suite’s size.Keywords
Funding Information
- Ministry of Higher Education (MOHE) Malaysia through the Fundamental Research Grant Scheme (FRGS/1/2023/ICT01/UTP/02/2)
This publication has 64 references indexed in Scilit:
- A three-phase approach to improve the functionality of t-way strategySoft Computing, 2023
- Introduction to Probability and Statistics for Engineers and Scientists2021
- CMSA algorithm for solving the prioritized pairwise test data generation problem in software product linesJournal of Heuristics, 2020
- Combinatorial test list generation based on Harmony Search AlgorithmJournal of Ambient Intelligence and Humanized Computing, 2020
- Constraints handling in combinatorial interaction testing using multi-objective crow search and fruitfly optimizationSoft Computing, 2019
- A systematic literature review: Refactoring for disclosing code smells in object oriented softwareAin Shams Engineering Journal, 2018
- Pairwise Test Suite Generation Using Adaptive Teaching Learning-Based Optimization Algorithm with Remedial Operator2018
- Learning Cuckoo Search Strategy for t-way Test Generation2018
- An Orchestrated Survey on T-Way Test Case Generation Strategies Based on Optimization Algorithms2014
- Properties of Realistic Feature Models Make Combinatorial Testing of Product Lines Feasible2011