Skip to main content

Advertisement

Log in

GALP: a hybrid artificial intelligence algorithm for generating covering array

  • Methodologies and Application
  • Published:
Soft Computing Aims and scope Submit manuscript

A Correction to this article was published on 05 May 2021

This article has been updated

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

Change history

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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    MATH  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • Bryce R, Colbourn CJ (2009) A density-based greedy algorithm for higher strength covering arrays. Softw Test Verif Reliab 17(1):37–53

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • Esfandyari S, Rafe V (2020) Extracting Combinatorial Test parameters and their values using model checking and evolutionary algorithms. Appl Soft Comput 91:1–19

    Article  Google Scholar 

  • 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

    MATH  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

SE was responsible for conceptualization, methodology, software and writing—original draft; VR was responsible for supervision, writing—reviewing and editing.

Corresponding author

Correspondence to Sajad Esfandyari.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-021-05788-0

Keywords

Navigation