JOURNAL ARTICLE

Mutated Specification-Based Test Data Generation with a Genetic Algorithm

Rong WangYuji SatoShaoying Liu

Year: 2021 Journal:   Mathematics Vol: 9 (4)Pages: 331-331   Publisher: Multidisciplinary Digital Publishing Institute

Abstract

Specification-based testing methods generate test data without the knowledge of the structure of the program. However, the quality of these test data are not well ensured to detect bugs when non-functional changes are introduced to the program. To generate test data effectively, we propose a new method that combines formal specifications with the genetic algorithm (GA). In this method, formal specifications are reformed by GA in order to be used to generate input values that can kill as many mutants of the target program as possible. Two classic examples are presented to demonstrate how the method works. The result shows that the proposed method can help effectively generate test cases to kill the program mutants, which contributes to the further maintenance of software.

Keywords:
Computer science Process (computing) Test case Genetic algorithm Algorithm Formal methods Test data Formal specification Code coverage Programming language Software Data mining Reliability engineering Machine learning Engineering

Metrics

6
Cited By
1.93
FWCI (Field Weighted Citation Impact)
50
Refs
0.84
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
© 2026 ScienceGate Book Chapters — All rights reserved.