Abstract
The pairwise test data set generation is one of key issues of combinatorial testing. This paper presents a novel auto-adapted method to generate a pairwise test data set. In this method, all test cases are made at a time, which is called “all-tests-at-a-time”. Firstly, generate a certain number of test data sets; these test data sets have the same number of test cases. Secondly, chose the best data set and check whether it satisfy the requirements, if not ,go to next step, else the best is selected and the algorithm is end. Thirdly, update every data set: calculate the “repeat number” of each test case in a data set, chose two or three test cases according to the “repeat number”; update the selected test cases relies on “main factors” of each data set. Moreover, the classic examples are used to illustrate the performance of the proposed method. Compared with the existing algorithms, this paper provides an effective pairwise test suite generation method which updates test cases depend on the data set’s coverage not any one independent case; it takes into the relationship of every test case consideration not like the traditional methods which also find the current best case. It can help the data set improve its coverage quickly.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Kuhn, D., Reilly, M.: An investigation of the applicability of design of experiments to software testing. In: 27th Annual NASA Goddard/IEEE Software Engineering Workshop, pp. 91–95 (2002)
Xiang, C., Qing, G.: Building Prioritized Pairwise Interaction Test Suites with Ant Colony Optimization. In: 2009 Ninth International Conference on Quality Software, pp. 347–352 (2009)
Shi, L., Xu, B., Nie, C.: Pairwise Test Data Generation Based on Solution Space Tree. Chinese Journal of Computers, 849–857 (2006)
McCaffrey, J.D.: Generation of Pairwise Test Sets using a Simulated Bee Colony Algorithm. In: IEEE IRI 2009, Las Vegas, Nevada, USA, July 10-12, pp. 115–119 (2009)
Cohen, D.M., Dalal, S.R., Fredman, M.L., Patton, G.C.: The AETG System: An Approach to Testing Based on Combinatorial Design. IEEE Transactions on Software Engineering, 437–444 (1997)
Lei, Y., Kacker, R., Richard Kuhn, D., Okun, V., Lawrence, J.: IPOG: A General Strategy for T-Way Software Testing. In: Proceedings of the 14th Annual IEEE International Conference and Workshops on the Engineering of Computer-Based Systems (2007)
Sun, J., Wang, S.: A Novel Chaos Discrete Particle Swarm Optimization Algorithm for Test Reduction. In: IWSE 2010, pp. 623–632 (2010)
Sun, J., Wang, S.: Generation of Pairwise Test Sets Using a Novel DPSO. In: GCN 2011, pp. 479–487 (2011)
Li, X., Zhang, W.: Test Case Generation Based on Annealing Immune Genetic Algorithm. Computer Simulation, 171–174 (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Fan, P., Wang, S., Sun, J. (2012). An Auto-Adapted Method to Generate Pairwise Test Data Set. In: Lei, J., Wang, F.L., Deng, H., Miao, D. (eds) Artificial Intelligence and Computational Intelligence. AICI 2012. Lecture Notes in Computer Science(), vol 7530. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-33478-8_30
Download citation
DOI: https://doi.org/10.1007/978-3-642-33478-8_30
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-33477-1
Online ISBN: 978-3-642-33478-8
eBook Packages: Computer ScienceComputer Science (R0)