Automated Generation of Covering Array Using Model Checking and Modified Gravitational Search Algorithm
Preprint
- 6 December 2023
- preprint
- Published by Springer Nature in Research Square
Abstract
The widespread usage of combinatorial testing methodologies in software development has necessitated efficient strategies for generating high-quality test suites. Covering Array (CA) has emerged as a significant component of combinatorial testing, offering various types that cater to different testing requirements. Several strategies have been proposed to generate CAs, each with its unique trade-offs in terms of performance and efficiency. However, there remains a lack of a strategy that simultaneously addresses both aspects effectively. Furthermore, manually acquiring software information introduces a higher chance of errors and also poses challenges in terms of the complexity involved in extracting relevant data. To overcome these challenges, this research incorporates the powerful GROOVE model checker to automate the extraction of variables and their interactions within the software. Subsequently, by modifying the Gravitational Search Algorithm (GSA), an optimal test suite is produced with improved efficiency. This paper aims to construct a software model using the GROOVE model checker and leverage its features to extract pertinent software information. The proposed methodology then employs a modified Gravitational Search Algorithm (MGSA) to generate CAs with both uniform and variable strength. Additionally, a mechanism is introduced to expedite search operations within data structures. To evaluate the effectiveness of the proposed solution, it is implemented within the GROOVE environment, alongside several other meta-heuristic algorithms. Furthermore, the proposed algorithm is also implemented externally for comparison with existing strategies. The evaluation results demonstrate that the proposed solution outperforms other strategies in terms of efficiency and performance.Keywords
All Related Versions
This publication has 30 references indexed in Scilit:
- Scenario-driven analysis of systems specified through graph transformationsJournal of Visual Languages & Computing, 2013
- Design and implementation of a harmony-search-based variable-strength t-way testing strategy with constraints supportInformation and Software Technology, 2012
- Application of Particle Swarm Optimization to uniform and variable strength covering array constructionApplied Soft Computing, 2012
- New bounds for binary covering arrays using simulated annealingInformation Sciences, 2012
- Design and implementation of a t-way test data generation strategy with automated execution tool supportInformation Sciences, 2011
- Evaluating improvements to a meta-heuristic search for constrained interaction testingEmpirical Software Engineering, 2010
- GSA: A Gravitational Search AlgorithmInformation Sciences, 2009
- IPOG/IPOG‐D: efficient test generation for multi‐way combinatorial testingSoftware Testing, Verification and Reliability, 2007
- Model Checking Dynamic States in GROOVE2006
- The AETG system: an approach to testing based on combinatorial designIEEE Transactions on Software Engineering, 1997