کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
461237 | 696578 | 2016 | 14 صفحه PDF | دانلود رایگان |
• We propose a novel fitness function (FF) to generate test data for Simulink models.
• Mutation testing is used as a criterion to generate test data for Simulink models
• The FF is designed by analyzing each mutation operator and the features in Simulink.
• FF is used in the MPC-GA algorithm to generate test sets for Simulink models.
• The mutation score has been significantly improved for all models.
Testing is one of the crucial activities to assure the software quality. The main objective of testing is to generate test data uncovering faults in software modules. There are a variety of testing techniques in which mutation testing is a popular approach to generate test sets and evaluate their fault detection ability. Simulink is an environment widely used in industry to design and simulate critical systems. Testing such a system at the design phase could help to detect faults earlier. This study aims to propose a novel fitness function of metaheuristic algorithms to generate test data based on the mutation technique for the Simulink models. The fitness function is designed by analyzing each mutation operator and the features of blocks in the Simulink environment in order to guide the search process to reach the test data killing mutants more easily. Then, this fitness function is used in the multi-parent crossover genetic algorithm to generate test sets. The obtained results indicated that the mutation score has been significantly improved for all models when using the novel fitness function. In addition, each stubborn mutant was killed with a lower number of test data evaluations in comparison with the work of other authors.
Journal: Journal of Systems and Software - Volume 120, October 2016, Pages 17–30