Back to Search Start Over

Mutated Specification-Based Test Data Generation with a Genetic Algorithm †.

Authors :
Wang, Rong
Sato, Yuji
Liu, Shaoying
Greiner, David
Source :
Mathematics (2227-7390). Feb2021, Vol. 9 Issue 4, p331. 1p.
Publication Year :
2021

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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
22277390
Volume :
9
Issue :
4
Database :
Academic Search Index
Journal :
Mathematics (2227-7390)
Publication Type :
Academic Journal
Accession number :
149095441
Full Text :
https://doi.org/10.3390/math9040331