Skip to main content

An Auto-Adapted Method to Generate Pairwise Test Data Set

  • Conference paper
Book cover Artificial Intelligence and Computational Intelligence (AICI 2012)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 7530))

  • 3425 Accesses

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. Shi, L., Xu, B., Nie, C.: Pairwise Test Data Generation Based on Solution Space Tree. Chinese Journal of Computers, 849–857 (2006)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. Sun, J., Wang, S.: A Novel Chaos Discrete Particle Swarm Optimization Algorithm for Test Reduction. In: IWSE 2010, pp. 623–632 (2010)

    Google Scholar 

  8. Sun, J., Wang, S.: Generation of Pairwise Test Sets Using a Novel DPSO. In: GCN 2011, pp. 479–487 (2011)

    Google Scholar 

  9. Li, X., Zhang, W.: Test Case Generation Based on Annealing Immune Genetic Algorithm. Computer Simulation, 171–174 (2008)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics