Test Set Generation for Pairwise Testing Using Genetic Algorithms
1
조회
0
다운로드
3
인용
0
참고문헌
키워드
초록
In software systems, it has been observed that a fault is often caused by an interaction between a small numberof input parameters. Even for moderately sized software systems, exhaustive testing is practically impossibleto achieve. This is either due to time or cost constraints. Combinatorial (t-way) testing provides a techniqueto select a subset of exhaustive test cases covering all of the t-way interactions, without much of a loss to thefault detection capability. In this paper, an approach is proposed to generate 2-way (pairwise) test sets usinggenetic algorithms. The performance of the algorithm is improved by creating an initial solution using theoverlap coefficient (a similarity matrix). Two mutation strategies have also been modified to improve theirefficiency. Furthermore, the mutation operator is improved by using a combination of three mutationstrategies. A comparative survey of the techniques to generate t-way test sets using genetic algorithms was alsoconducted. It has been shown experimentally that the proposed approach generates faster results by achievinghigher percentage coverage in a fewer number of generations. Additionally, the size of the mixed coveringarrays was reduced in one of the six benchmark problems examined.
Abstract
In software systems, it has been observed that a fault is often caused by an interaction between a small numberof input parameters. Even for moderately sized software systems, exhaustive testing is practically impossibleto achieve. This is either due to time or cost constraints. Combinatorial (t-way) testing provides a techniqueto select a subset of exhaustive test cases covering all of the t-way interactions, without much of a loss to thefault detection capability. In this paper, an approach is proposed to generate 2-way (pairwise) test sets usinggenetic algorithms. The performance of the algorithm is improved by creating an initial solution using theoverlap coefficient (a similarity matrix). Two mutation strategies have also been modified to improve theirefficiency. Furthermore, the mutation operator is improved by using a combination of three mutationstrategies. A comparative survey of the techniques to generate t-way test sets using genetic algorithms was alsoconducted. It has been shown experimentally that the proposed approach generates faster results by achievinghigher percentage coverage in a fewer number of generations. Additionally, the size of the mixed coveringarrays was reduced in one of the six benchmark problems examined.
참고문헌 (27)
- A.P. Mathur, "Foundations of Software Testing", pp.309~315 (2008), Pearson Education
- D. M. Cohen, "The AETG system : an approach to testing based on combinatorial design", IEEE Transactions on Software Engineering, 23(7), pp.437~443 (1997)
- "Combinatorial Testing"[URL]
- A. Hartman, "Graph Theory, Combinatorics and Algorithms", pp.237~266 (2005), Springer
- "On the construction of orthogonal arrays and covering arrays using permutation groups" (2004)[URL]
- L. Gonzalez-Hernandez, "Construction of mixed covering arrays of strengths 2 through 6 using a tabu search approach", Discrete Mathematics, Algorithms and Applications, 4(3) (2012)
- D. E. Goldberg, "Genetic Algorithms in Search, Optimization, and Machine Learning", pp.1~22 (1989), Addison-Wesley
- K. A. Bush, "Orthogonal arrays of index unity", Annals of Mathematical Statistics, 23(3), pp.426~434 (1952)
- D. M. Cohen, "The combinatorial design approach to automatic test generation", IEEE Software, 13(5), pp.83~88 (1996)
- R. C. Bryce, "A framework of greedy methods for constructing interaction test suites", Proceedings of the 27th International Conference on Software Engineerin, pp.146~155 (2005)
- J. D. McCaffrey, "Generation of pairwise test sets using a genetic algorithm", Proceedings of 33rd Annual IEEE International Computer Software and Applications Conference (COMPSAC ’99), pp.626~631 (2009)
- Y. Lei, "In-parameter-order: a test generation strategy for pairwise testing", Proceedings of 3rd IEEE International High-Assurance Systems Engineering Symposium, pp.254~261 (1998)
- B. J. Garvin, "An improved meta-heuristic search for constrained interaction testing", Proceedings of the 1st International Symposium on Search Based Software Engineering, pp.13~22 (2009)
- X. Chen, "Building prioritized pairwise interaction test suites with ant colony optimization", Proceedings of IEEE 9th International Conference on Quality Software (QSIC’09), pp.347~352 (2009)
- X. Chen, "Applying particle swarm optimization to pairwise testing", Proceedings of IEEE 34th Annual Computer Software and Applications Conference (COMPSAC), pp.107~116 (2010)
- B. S. Ahmed, "Application of particle swarm optimization to uniform and variable strength covering array construction", Applied Soft Computing, 12(4), pp.1330~1347 (2012)
- S. A. Ghazi, "Pair-wise test coverage using genetic algorithms", Proceedings of the 2003Congress on Evolutionary Computation (CEC'03), pp.1420~1424 (2003)
- J. D. McCaffrey, "An empirical study of pairwise test set generation using a genetic algorithm", Proceedings of 7th International Conference on Information Technology: New Generations (ITNG), pp.992~997 (2010)
- P. Flores, "PWiseGen: generating test cases for pairwise testing using genetic algorithms", Proceedings of 2011 IEEE International Conference on Computer Science and Automation Engineering (CSAE), pp.747~752 (2011)
- L. Yalan, "Empirically identifying the best genetic algorithm for covering array generation", presented at 3rd International Symposium on Search Based Software Engineering (2011)
- T. Shiba, "Using artificial life techniques to generate test cases for combinatorial testing", Proceedings of the 28th Annual International Computer Software and Applications Conference (COMPSAC’04), pp.72~77 (2004)
- P. Bansal, "An approach to test set generation for pair-wise testing using genetic algorithms", Proceedings 5th International Symposium on Search Based Software Engineering (SSBSE2013), pp.294~299 (2013)
- J. D. McCaffrey, "Generation of pairwise test sets using a genetic algorithm", Proceedings of 33rd Annual IEEE International Computer Software and Applications Conference (COMPSAC’99), pp.626~631 (2009)
- A. R. A. Alsewari, "Design and implementation of a harmony-search-based variable-strength t-way testing strategy with constraints support", Journal of Information and Software Technology, 54(6), pp.553~568 (2012)
- A. R. A. Alsewari, "A harmony search based pairwise sampling strategy for combinatorial testing", International Journal of the Physical Sciences, 7(7), pp.1062~1072 (2012)
- M. B. Cohen, "Constructing strength three covering arrays with augmented annealing", Discrete Mathematics, 308(13), pp.2709~2722 (2008)
- "Overlap coefficient"[URL]
