|
ABSTRACT
This paper presents a new fitness function to generate test data for a specific single path, which is different from the predicate distance applied by most test data generators based on genetic algorithms (GAs). We define a similarity between the target path and execution path to evaluate the quality of the populations. The problem of the most existing generators is to search only one target data a time, wasting plenty of available interim data. We construct another fitness function combined with the single path function, which can drive GA to complete covering multi-paths to avoid the reduplicate searching and utilize the interim populations for different paths. Several experiments are taken to examine the effectiveness of both the single path and multi-path fitness functions, which evaluate the functions' performance with the convergence ability and consumed time. Results show that the two functions perform well compared with other two typical path-oriented functions and the multi-paths approach retrenches the searching actually.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Gibbs.W. Software's chronic crisis. Sci. Am, 271, 3 (Sept. 1994), 72--81.
|
 |
2
|
|
| |
3
|
|
| |
4
|
|
| |
5
|
Edvardsson. J. A survey on automatic test data generation. In proceedings of the second conference on computer science and engineering in linkoping, ECSEL, (October 1999), 21--28.
|
| |
6
|
|
| |
7
|
Manter. T, Alander. JT. Evolutionary software engineering, a review. Applied Software Computing 5 (2005), 315--331.
|
| |
8
|
Xanthakis. S, Ellis. C, Skourlas. C, Gall. AL, Katsikas. S, Karapoulios. K. Application of genetic algorithms to software testing. Proceedings of the 5th International Conference on Software Engineering, (Toulouse, France, 1992), 158--164.
|
| |
9
|
Sthamer. H. The automatic generation of software test data using genetic algorithms. Ph.D. thesis, Department of Electronics and Information Technology, University of Glamorgan, 1996.
|
| |
10
|
|
| |
11
|
|
| |
12
|
Bueno. PMS, Jino. M. Automatic test data generation for program path using genetic algorithms. International Journal of Software Engineering and Knowledge Engineering. Vol.12, NO. 6 (2002), 691--09.
|
| |
13
|
|
| |
14
|
|
| |
15
|
Wegener. J, Baresel. A, Sthamer. H. Evolutionary test environment for automatic structural testing. Information and Software Technology 43(2001), 841--54.
|
| |
16
|
|
| |
17
|
Pargas. RP, Harrold. MJ, Peck. R. Test-data generation using genetic algorithms. Software Testing, Verification and Reliability 9, (1999), 263--282.
|
| |
18
|
Wegener. J, Sthamer. H, Pohlheim. H. Testing the temporal behaviour of realtime task using extended evolutionary algorithms. In Proceedings of the 7th European Conference on Software Testing, Analysis and Review (EuroSTAR 1999), (Barcelona, Spain, 1999).
|
| |
19
|
|
| |
20
|
Miller. J, Reformat. M, Zhang. H. Automatic test data generation using genetic algorithm and program dependence graphs. Information and Software Technology 48 (2006), 586--605.
|
| |
21
|
|
| |
22
|
|
| |
23
|
|
| |
24
|
|
| |
25
|
Parker. A. Algorithms and data structures in C++. CRC Press LLC, 1993
|
| |
26
|
Sthamer. H, Wegener. J, Baresel. A. Using evolutionary testing to improve efficiency and quality in software testing. In Procedings of the 2nd Asia-Pacific Conference on Software Testing Analysis and Review (AsiaSTAR), (July 2002, 22--24th).
|
| |
27
|
|
 |
28
|
|
| |
29
|
|
| |
30
|
|
| |
31
|
|
|