• DocumentCode
    3571868
  • Title

    Weighted Particle Swarm Optimization algorithm for Randomized unit testing

  • Author

    Dhivya, K. Devika Rani ; Meenakshi, V.S.

  • Author_Institution
    Dept. of CA & SS, Sri Krishna Arts & Sci. Coll., Coimbatore, India
  • fYear
    2015
  • Firstpage
    1
  • Lastpage
    7
  • Abstract
    Randomized testing is an effective method for testing software units. Thoroughness of randomized unit testing is according to the settings of optimal parameters. Randomized testing uses randomization for some aspects of test input data. Designing Genetic algorithm (GA) is somewhat of a black art. The feature subset selection (FSS) tool is used with GA to assess and to reduce the size and the content of the test case. FSS can be used to find and remove unnecessary parts of the search control automatically. The existing system does not cover all test data in test cases for the reason that it can quickly generate many test cases and does not consider the target method. Thus GA for Randomized unit testing has not achieves high coverage and does not produce better optimal test data. In the proposed method, Particle Swarm Optimization (PSO) algorithm is used for randomized unit testing. PSO algorithm is used to evaluate the target method solutions for test coverage in test data. The main goal is to generate the optimal test parameter, to reduce the size of test case generation and to achieve high coverage of the units under test. PSO achieves high coverage and produce optimal value. PSO algorithm is enhanced weighted value. Weighted Particle Swarm Optimization (WPSO) algorithm uses weight value in calculating the mean best position for each particle. It improves the efficiency of the system and achieves high coverage of the units under test within 5% of the time with better accuracy.
  • Keywords
    feature selection; genetic algorithms; particle swarm optimisation; program testing; FSS; GA; WPSO algorithm; feature subset selection; genetic algorithm; randomized unit testing; software unit testing; weighted particle swarm optimization algorithm; Accuracy; Generators; Genetic algorithms; Heuristic algorithms; Optimization; Software; Software algorithms; Feature Sub Set Selection; Genetic algorithm; Particle Swarm Optimization algorithm; Randomized unit testing; Weighted Particle Swarm Optimization algorithm;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Electrical, Computer and Communication Technologies (ICECCT), 2015 IEEE International Conference on
  • Print_ISBN
    978-1-4799-6084-2
  • Type

    conf

  • DOI
    10.1109/ICECCT.2015.7226068
  • Filename
    7226068