Skip to main content

Automatic Test Generation for N-Way Combinatorial Testing

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3712))

Abstract

n-way combinatorial testing is a specification-based testing criterion, which requires that for a system consisting of a few parameters, every combination of valid values of arbitrary n (n ≥ 2) parameters be covered by at least one test. In this paper, we propose two different tests generation algorithms based on the combinatorial design for the n-way combination testing. We show that the produced tests can cover all the combinations of parameters to the greatest degree with the small quantity. We implemented the automatic test generators based on the algorithms and obtained some valuable empirical results.

This work was supported in part by the National Natural Science Foundation of China (60425206, 60373066, 60403016), National Grand Fundamental Research 973 Program of China (2002CB312000) and the Natural Science Foundation of Jiangsu Province(BK2005060). Correspondence to: Baowen Xu, Department of Computer Science and Engineering, Southeast Univsity, 210096 Nanjing, China. Email: bwxu@seu.edu.cn

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Mandl, R.: Orthogonal Latin Squares: An Application of Experimental Design to Compiler. Testing Communications of the ACM 28(10), 1054–1058 (1985)

    Article  Google Scholar 

  2. Cohen, D.M., Dalal, S.R., Fredman, M.L.: The AETG System: An Approach to Testing Based on Combinatorial Design. IEEE Trans. on Software Engineering. 23(7), 437–444 (1997)

    Article  Google Scholar 

  3. Cohen, D.M., Dalal, S.R., Parelius, J., Patton, G.C.: The Combinatorial Design Approach to Automatic Test Generation. IEEE Software, 83–87 (September 1996)

    Google Scholar 

  4. Lei, Y., Tai, K.C.: In-Parameter-Order: A Test Generation Strategy for Pairwise Testing. Technical Report TR-2001-03. Dept. of Computer Science. North Carolina State Univ, Raleigh, North Carolina (March 2001)

    Google Scholar 

  5. Tai, K.C., Lei, Y.: A Test Generation Strategy for Pairwise Testing. IEEE Trans. on Software Engineering 28(1), 109–111 (2002)

    Article  Google Scholar 

  6. Xu, B., Nie, C., Shi, Q., Lu, H.: An Algorithm for Automatically Generating Black-box Test Cases. Journal of Electronics 20(1), 74–78 (2003)

    Article  Google Scholar 

  7. Toshiaki, S., Tatsuhiro, T., Tohru, K.: Using Artificial Life Techniques to Generate Test Cases for Combinatorial Testing. In: 28th Computer Software and Conference, Hong Kong, China (September 2004)

    Google Scholar 

  8. Kuhn, D.R., Gallo, A.M.: Software Fault Interactions and Implications for Software Testing. IEEE Trans. On Software Engineering 30(6), 418–421 (2004)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Nie, C., Xu, B., Shi, L., Dong, G. (2005). Automatic Test Generation for N-Way Combinatorial Testing . In: Reussner, R., Mayer, J., Stafford, J.A., Overhage, S., Becker, S., Schroeder, P.J. (eds) Quality of Software Architectures and Software Quality. QoSA SOQUA 2005 2005. Lecture Notes in Computer Science, vol 3712. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11558569_15

Download citation

  • DOI: https://doi.org/10.1007/11558569_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-29033-9

  • Online ISBN: 978-3-540-32056-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics