Abstract
Today, there are a lot of useful algorithms for covering array (CA) generation, one of the branches of combinatorial testing. The major CA challenge is the generation of an array with the minimum number of test cases (efficiency) in an appropriate run-time (performance), for large systems. CA generation strategies are classified into several categories: computational and meta-heuristic, to name the most important ones. Generally, computational strategies have high performance and yield poor results in terms of efficiency, in contrast, meta-heuristic strategies have good efficiency and lower performance. Among the strategies available, some are efficient strategies but suffer from low performance; conversely, some others have good performance, but is not such efficient. In general, there is not a strategy that enjoys both above-mentioned metrics. In this paper, it is tried to combine the genetic algorithm and the Augmented Lagrangian Particle Swarm Optimization with Fractional Order Velocity to produce the appropriate test suite in terms of efficiency and performance. Also, a simple and effective minimizing function is employed to increase efficiency. The evaluation results show that the proposed strategy outperforms the existing approaches in terms of both efficiency and performance.
Similar content being viewed by others
Change history
05 May 2021
A Correction to this paper has been published: https://doi.org/10.1007/s00500-021-05848-5
References
Ahmed BS, Zamli KZ, Peng, Lim CP (2012) Application of particle swarm optimization to uniform and variable strength covering array construction. Appl Soft Comput 12(4):1330–1347
Ahmed BS, Abdulsamad TS, Potrus MY (2015) Achievement of minimized combinatorial test suite for configuration-aware software functional testing using the Cuckoo Search algorithm. Inf Softw Technol 66:13–29
Ahmed BS, Enoiu E, Afzal W, Zamli KZ (2020) An evaluation of Monte Carlo-based hyper-heuristic for interaction testing of industrial embedded software applications. Soft Comput 24:13929–13954
Alfi A (2011) PSO with adaptive mutation and inertia weight and its application in parameter estimation of dynamic systems. Acta Autom Sin 37(5):541–549
Alsewari RA, Zamli KZ (2012) Design and implementation of a harmony-search-based variable-strengtht-way testing strategy with constraints support. Inf Softw Technol 54(6):553–568
Arshem J (2019) TVG download page. http://sourceforge.net/projects/tvg
Bryce RC, Colbourn CJ (2007) The density algorithm for pairwise interaction testing: Research Articles. Software Testing, Verification & Reliability 17(3):159–182
Bryce R, Colbourn CJ (2009) A density-based greedy algorithm for higher strength covering arrays. Softw Test Verif Reliab 17(1):37–53
Calvagna A, Gargantini A (2009) IPO-s: incremental generation of combinatorial interaction test data based on symmetries of covering arrays. In: International conference on software testing, verification, and validation workshops, Denver, CO, USA
Cohen MB (2004) Designing test suites for software interactions testing. Ph.d thesis, University of Auckland, Department of Computer Science, Auckland
Cohen DM, Dalal SR, Fredman ML, Patton GC (1997) The AETG system: an approach to testing based on combinatorial design. IEEE Trans Softw Eng 23(7):437–444
Cohen MB, Dwyer MB, Shi J (2007) Interaction testing of highly-configurable systems in the presence of constraints. In: International symposium on software testing and analysis, London, UK
Colbourn CJ (2019) Covering array tables for t=2, 3, 4, 5, 6. http://www.public.asu.edu/~ccolbou/src/tabby/catable.html.
Czerwonka J (2006) Pairwise testing in real world: practical extensions to test case generator. In: 24th Pacific Northwest software quality conference. IEEE computer society, Portland
Esfandyari S, Rafe V (2018) A tuned version of genetic algorithm for efficient test suite generation in interactive t-way testing strategy. Inf Softw Technol 94:165–185
Esfandyari S, Rafe V (2020) Extracting Combinatorial Test parameters and their values using model checking and evolutionary algorithms. Appl Soft Comput 91:1–19
Garvin BJ, Cohen MB, Dwyer MB (2009) An improved metaheuristic search for constrained interaction testing. In: 1st International symposium on search based software engineering, Windsor, UK
Hartman A (2005) Software and hardware testing using combinatorial covering suites, vol 34. Springer, Berlin
Hartman A (2019) IBM intelligent test case handler. IBM alphaworks. http://www.alphaworks.ibm.com/tech/whitch
Jenkins B (2019) Jenny download web page. Bob Jenkins’ Website. http://burtleburtle.net/bob/math/jenny.html
Kennedy J, Eberhart R (1995) Particle swarm optimization. In: International conference on neural networks, Perth, WA, Australia
Kuhn DR (2019) ACTS page download. http://csrc.nist.gov/groups/SNS/acts/download_tools.html
Lehmann E, Wegener J (2000) Test case design by means of the CTE XL. In: 8th European international conference on software testing, analysis and review, Copenhagen, Denmark
Lei Y, Kacker R, Kuhn DR, Okun V, Lawrence J (2007) IPOG: a general strategy for t-way software testing. In: 4th Annual IEEE international conference and workshops on the engineering of computer-based systems. IEEE Computer Society, Tucson
Lei Y, Kacker R, Kuhn DR, Okun V, Lawrence J (2008) IPOG/IPOG-D: efficient test generation for multi-way combinatorial testing, software testing. Softw Test Verif Reliab 18(3):125–148
Lin J, Luo C, Cai S, Su K, Hao D, Zhang LTCA (2015) An efficient two-mode meta-heuristic algorithm for combinatorial test generation (T). In: 30th IEEE/ACM international conference on automated software engineering (ASE), Lincoln, NE, USA, 9–13 Nov. 2015
Lin J, Cai S, Luo C, Lin Q, Zhang H (2019) Towards more efficient meta-heuristic algorithms for combinatorial test generation. In: 27th ACM joint meeting on european software engineering conference and symposium on the foundations of software engineering-ESEC/FSE 2019
Machado JT, Pahnehkolaei SM, Alfi A (2021) Complex-order particle swarm optimization. Commun Nonlinear Sci Numer Simul 92:1–37
Mahmoud T, Ahmed BS (2015) An efficient strategy for covering array construction with fuzzy logic-based adaptive swarm optimization for software testing use. Expert Syst Appl 42(22):8753–8765
Mehdizadeh S, Fathian F, Adamowski JF (2019) Hybrid artificial intelligence-time series models for monthly streamflow modeling. Appl Soft Comput 80:873–887
Mitchell M (1999) An introduction to genetic algorithms. Cambridge, Massachusetts, London, England, Fifth printing, vol 3. pp 62–75
Nasser AB, Zamli KZ, Alsewari AA, Ahmed BS (2018a) Hybrid flower pollination algorithm strategies for t-way test suite generation. PLoS ONE 13(5):1–24
Rafe V (2013) Scenario-driven analysis of systems specified through graph transformations. J Vis Lang Comput 24:136–145
Ramgouda P, Chandraprakash V (2019) Constraints handling in combinatorial interaction testing using multiobjective crow search and fruitfly optimization. Soft Comput 23:2713–2726
Shahri ESA, Alfi A, Machado J (2019) Fractional fixed-structure H∞ controller design using augmented Lagrangian particle swarm optimization with fractional order velocity. Appl Soft Comput 77:688–695
Shiba T, Tsuchiya T, Kikuno T (2004) Using artificial life techniques to generate test cases for combinatorial testing. In: 28th Annual international computer software and applications conference, Hong Kong, China
Stardom J (2001) Metaheuristics and the search for covering and packing array. Thesis (M.Sc.), Simon Fraser University, 2001
Tung Y-W, Aldiwan W (2000) Automating test case generation for the new generation mission software system. In: 2000 IEEE aerospace conference. Proceedings (Cat. No.00TH8484), Big Sky
Williams W (2000) Determination of test configurations for pair-wise interaction coverage. In: Kluwer BV (eds) IFIP TC6/WG6.1 13th international conference on testing communicating systems: tools and techniques, Deventer. pp 59–74
Wu H, Nie C, Kuo F-C, Leung H, Colbourn CJ (2015a) A discrete particle swarm optimization for covering array generation. IEEE Trans Evol Comput 19(4):575–591
Wu H, Nie C, Kuo F-C, Leung H, Colbourn CJ (2015b) DPSO Page download. https://github.com/waynedd/DPSO. Accessed 2019
Yu Y, Ng S, Chan E (2003) Generating, selecting and prioritizing test cases from specifications with tool support. In: Third international conference on quality software, Dallas
Zamli KZ, Alkazemi BY, Kendall G (2016) A Tabu search hyper-heuristic strategy for t-way test suite generation. Appl Soft Comput 44:57–74
Zamli KZ, Din F, Kendall G, Ahmed BS (2017a) An experimental study of hyper-heuristic selection and acceptance mechanism for combinatorial t-way test suite generation. Inf Sci 399:121–153
Zamli KZ, Din F, Baharom S, Ahmed BS (2017b) Fuzzy adaptive teaching learning-based optimization strategy for the problem of generating mixed strength t-way test suites. Eng Appl Artif Intell 59:35–50
Zamli KZ, Din F, Ahmed BS, Bures M (2018) A hybrid Q-learning sine-cosine-based strategy for addressing the combinatorial test suite minimization problem. PLoS ONE 13(5)
Zhou Y, Ling Y, Luo Q (2018) Lévy flight trajectory-based whale optimization algorithm for engineering optimization. Eng Comput 35(7):2406–2428
Author information
Authors and Affiliations
Contributions
SE was responsible for conceptualization, methodology, software and writing—original draft; VR was responsible for supervision, writing—reviewing and editing.
Corresponding author
Ethics declarations
Conflict of interest
Authors declare that they have no conflict of interest.
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The original article has been updated: Due to reference update.
Rights and permissions
About this article
Cite this article
Esfandyari, S., Rafe, V. GALP: a hybrid artificial intelligence algorithm for generating covering array. Soft Comput 25, 7673–7689 (2021). https://doi.org/10.1007/s00500-021-05788-0
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00500-021-05788-0