2021
DOI: 10.3390/app11104673
|View full text |Cite
|
Sign up to set email alerts
|

Automated Test Data Generation Based on a Genetic Algorithm with Maximum Code Coverage and Population Diversity

Abstract: In the present paper, we investigate an approach to intelligent support of the software white-box testing process based on an evolutionary paradigm. As a part of this approach, we solve the urgent problem of automated generation of the optimal set of test data that provides maximum statement coverage of the code when it is used in the testing process. We propose the formulation of a fitness function containing two terms, and, accordingly, two versions for implementing genetic algorithms (GA). The first term of… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
3
2
1

Relationship

0
6

Authors

Journals

citations
Cited by 7 publications
(3 citation statements)
references
References 25 publications
0
3
0
Order By: Relevance
“…As software testing having various activities, generation of test cases is one of the crucial and important activity, as it has a robust impact on the efficiency and effectiveness of the testing process (Zhu et al, 1997;Bertolino, 2007) Test Case Generation is an activity in which test cases are generated either manually or automatically by using any automatic test case generation tool (Prasanna et al, 2011;Avdeenko and Serdyukov, 2021).…”
Section: Resultsmentioning
confidence: 99%
“…As software testing having various activities, generation of test cases is one of the crucial and important activity, as it has a robust impact on the efficiency and effectiveness of the testing process (Zhu et al, 1997;Bertolino, 2007) Test Case Generation is an activity in which test cases are generated either manually or automatically by using any automatic test case generation tool (Prasanna et al, 2011;Avdeenko and Serdyukov, 2021).…”
Section: Resultsmentioning
confidence: 99%
“…Let us compare the application of various methods for determining the multiplier Ph (q) j , using the methods proposed above for the test program SUT2 described in [24]. Figure 1 shows a comparison of the average coverage for different values of the parameter k of the components of the fitness function (8), in which F 1 is calculated either by Formula (1), i.e., without modification, or by Formula (10) when using modification by the methods Hal f +, Quarter+, Tenth+ and Count−.…”
Section: Resultsmentioning
confidence: 99%
“…Subhash and Vudatha maximized test coverage through combinatorial test cases using the particle swarm optimization algorithm [17]. Avdeenko increased code coverage through automated test data generation based on a genetic algorithm [18]. In other research by Lemieux [19], test coverage was also improved through search-based software testing (SBST), which generates high-coverage test cases with a combination of test case generation and mutation at the code level.…”
Section: Literature Reviewmentioning
confidence: 99%