Optimum Selection of PSO Parameters for Automated Test Data Generation of Software Programs |
Author(s): |
| Nirupama Kumari , Shivalik Institute of Engg. & Technology, Aliyaspur, Ambala; Venuka Madan, Shivalik Institute of Engg. & Technology, Aliyaspur, Ambala |
Keywords: |
| Automated Test Data Generation, Particle Swarm Optimization (PSO) , average test cases generated per path (ATCPP), average percentage coverage (APC) . |
Abstract |
|
The proposed research work implemented and fine-tuned meta-heuristic based search algorithms namely PSO algorithm for automatic test case generation using path testing criterion. The three parameters namely size of population (NIND), inertia weight (W), social learning rate (C1), and cognitive learning rate (C2) have been chosen for setting PSO algorithm for test data generation. For input generation, symbolic execution method has been used in which first, target path is selected from Control Flow Graph (CFG) of Software under Test (SUT) and then inputs are generated using search algorithms which can evaluate composite predicate corresponding to the target path true. We have experimented on two real world programs showing the applicability of these techniques in genuine testing environment. The algorithm is implemented using MATLAB programming environment. The performance of the algorithms is measured using average test cases generated per path (ATCPP) and average percentage coverage (APC) metrics. |
Other Details |
|
Paper ID: IJSRDV2I4213 Published in: Volume : 2, Issue : 4 Publication Date: 01/07/2014 Page(s): 392-397 |
Article Preview |
|
|
|
|
