Adapting Swarm Intelligence Based Methods for Test Data Generation
Author(s):
Article Type:
Research/Original Article (دارای رتبه معتبر)
Abstract:
To achieve high-quality software, different tasks such as testing should be performed. Testing is known as a complex and time-consuming task. Efficient test suite generation (TSG) methods are required to suggest the best data for test designers to obtain better coverage in terms of testing criteria. In recent years, researchers to generate test data in time-efficient ways have presented different types of methods. Evolutionary and swarm-based methods are among them. This work is aimed to study the applicability of swarm-based methods for efficient test data generation in EvoSuite. The Firefly Algorithm (FA), Particle Swarm Optimization (PSO), Teaching Learning Based Optimization (TLBO), and Imperialist Competitive Algorithm (ICA) are used here. These methods are added to the EvoSuite. The methods are adapted to work in a discrete search space of test data generation problem. Also, a movement pattern is presented for generating new solutions. The performances of the presented methods are compared over 103 java classes with two built-in genetic-based methods in EvoSuite. The results show that swarm-based methods are successful in solving this problem and competitive results are obtained in comparison with the evolutionary methods.
Keywords:
Language:
English
Published:
Journal of Electrical Engineering, Volume:51 Issue: 2, Summer 2021
Pages:
183 to 193
https://www.magiran.com/p2353975
سامانه نویسندگان
مقالات دیگری از این نویسنده (گان)
-
Detection and Prediction of Inter-Slice Handover DDoS Attacks in 5G and Beyond Networks Using P4 and Deep Learning
R. Mohammadifar *, R. Javidan, R. Akbari
International Journal of Engineering, Aug 2025 -
کاربرد هوش مصنوعی قابل توضیح برای تحلیل نیازمندی های نرم افزار
بهناز جاماسب، رئوف خیامی*،
نشریه علوم رایانشی، زمستان 1403