Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/COMPSAC.2010.17guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Applying Particle Swarm Optimization to Pairwise Testing

Published: 19 July 2010 Publication History

Abstract

Combinatorial testing (also called interaction testing) is an effective specification-based test input generation technique. By now most of research work in combinatorial testing aims to propose novel approaches trying to generate test suites with minimum size that still cover all the pairwise, triple, or n-way combinations of factors. Since the difficulty of solving this problem is demonstrated to be NP-hard, existing approaches have been designed to generate optimal or near optimal combinatorial test suites in polynomial time. In this paper, we try to apply particle swarm optimization (PSO), a kind of meta-heuristic search technique, to pairwise testing (i.e. a special case of combinatorial testing aiming to cover all the pairwise combinations). To systematically build pairwise test suites, we propose two different PSO based algorithms. One algorithm is based on one-test-at-a-time strategy and the other is based on IPO-like strategy. In these two different algorithms, we use PSO to complete the construction of a single test. To successfully apply PSO to cover more uncovered pairwise combinations in this construction process, we provide a detailed description on how to formulate the search space, define the fitness function and set some heuristic settings. To verify the effectiveness of our approach, we implement these algorithms and choose some typical inputs. In our empirical study, we analyze the impact factors of our approach and compare our approach to other well-known approaches. Final empirical results show the effectiveness and efficiency of our approach.

Cited By

View all
  • (2019)Cloud-based automatic test data generation frameworkJournal of Computer and System Sciences10.1016/j.jcss.2015.12.00182:5(712-738)Online publication date: 1-Jan-2019
  • (2018)A novel strategy for automatic test data generation using soft computing techniqueFrontiers of Computer Science: Selected Publications from Chinese Universities10.1007/s11704-014-3496-99:3(346-363)Online publication date: 15-Dec-2018
  • (2016)Curvature Flight Path for Particle Swarm OptimisationProceedings of the Genetic and Evolutionary Computation Conference 201610.1145/2908812.2908840(29-36)Online publication date: 20-Jul-2016
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
COMPSAC '10: Proceedings of the 2010 IEEE 34th Annual Computer Software and Applications Conference
July 2010
539 pages
ISBN:9780769540856

Publisher

IEEE Computer Society

United States

Publication History

Published: 19 July 2010

Author Tags

  1. meta-heuristic search techniques
  2. pairwise testing
  3. particle swarm optimization
  4. software testing

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2019)Cloud-based automatic test data generation frameworkJournal of Computer and System Sciences10.1016/j.jcss.2015.12.00182:5(712-738)Online publication date: 1-Jan-2019
  • (2018)A novel strategy for automatic test data generation using soft computing techniqueFrontiers of Computer Science: Selected Publications from Chinese Universities10.1007/s11704-014-3496-99:3(346-363)Online publication date: 15-Dec-2018
  • (2016)Curvature Flight Path for Particle Swarm OptimisationProceedings of the Genetic and Evolutionary Computation Conference 201610.1145/2908812.2908840(29-36)Online publication date: 20-Jul-2016
  • (2014)An overview of search based combinatorial testingProceedings of the 7th International Workshop on Search-Based Software Testing10.1145/2593833.2593839(27-30)Online publication date: 2-Jun-2014

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media