Optimizing Test Case Reduction Using Particle Swarm Optimization

Manikandan, R. and Chandana, T. R. and Vandana, M. and Somanath, C. and Suresh, K. (2025) Optimizing Test Case Reduction Using Particle Swarm Optimization. In: Proceedings of the 4th International Conference on Information Technology, Civil Innovation, Science, and Management, ICITSM 2025, 28-29 April 2025, Tiruchengode, Tamil Nadu, India, Part II.

[thumbnail of 79608.pdf] PDF
79608.pdf

Download (638kB)

Abstract

Testing is one of the most important phases of software development, ensuring that the system functions efficiently, performs its intended tasks, and remains reliable. As the size of the test set grows polynomially (N²), the cost, redundancy and executing time also increase. Classical test case reduction techniques (heuristic and greedy approaches) usually cannot strike the right balance between the capability to detect errors and code coverage in minimizing test cases. In order to tackle this problem, we first construct a PSObased testing case reduction method to intelligently select the optimal test case subset. The PSO algorithm considers the test case selection as an optimization problem and uses particles to represent candidate subsets. The objective of the fitness function is to maximize the defect finding rate, code coverage and minimize execution time. With the update of positions with respect to global and individual optima, particles can conduct detailed search and decision. Experimental results show that our approach achieves high defect detection and coverage by greatly reducing the total number of tests. This renders the method particularly well suited to large software testing with less overhead, a more rapid execution, and a higher effectiveness.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: pso - particle swarm optimization, metaheuristic algorithm, mopso - multi objective particle swarm optimization test suite optimization, execution time automated testing, ga - genetic algorithm, fault detection 1, code coverage
Date Deposited: 04 Mar 2026 20:20
Last Modified: 03 Dec 2026 13:59
URI: https://eprints.eai.eu/id/eprint/60253

Actions (login required)

View Item
View Item