|
ABSTRACT
Evolutionary testing is an approach to automating test data generation that uses an evolutionary algorithm to search a test object's input domain for test data. Nested predicates can cause problems for evolutionary testing, because information needed for guiding the search only becomes available as each nested conditional is satisfied. This means that the search process can overfit to early information, making it harder, and sometimes near impossible, to satisfy constraints that only become apparent later in the search. The article presents a testability transformation that allows the evaluation of all nested conditionals at once. Two empirical studies are presented. The first study shows that the form of nesting handled is prevalent in practice. The second study shows how the approach improves evolutionary test data generation.
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
|
Baresel, A. 2000. Automatisierung von strukturtests mit evolutionren algorithmen. Diploma Thesis, Humboldt University, Berlin, Germany.
|
 |
2
|
André Baresel , David Binkley , Mark Harman , Bogdan Korel, Evolutionary testing in the presence of loop-assigned flags: a testability transformation approach, Proceedings of the 2004 ACM SIGSOFT international symposium on Software testing and analysis, July 11-14, 2004, Boston, Massachusetts, USA
|
| |
3
|
Baresel, A. and Sthamer, H. 2003. Evolutionary testing of flag conditions. In Proceedings of the Genetic and Evolutionary Computation Conference (GECCO'03). Lecture Notes in Computer Science vol. 2724. Springer-Verlag, 2442--2454.
|
| |
4
|
|
 |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
|
 |
9
|
|
 |
10
|
Mark Harman , Youssef Hassoun , Kiran Lakhotia , Phil McMinn , Joachim Wegener, The impact of input domain reduction on search-based test data generation, Proceedings of the the 6th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering, September 03-07, 2007, Dubrovnik, Croatia
[doi> 10.1145/1287624.1287647]
|
| |
11
|
|
| |
12
|
Mark Harman , Lin Hu , Rob Hierons , Joachim Wegener , Harmen Sthamer , André Baresel , Marc Roper, Testability Transformation, IEEE Transactions on Software Engineering, v.30 n.1, p.3-16, January 2004
[doi> 10.1109/TSE.2004.1265732]
|
| |
13
|
Harman, M. and McMinn, P. 2009. A theoretical and empirical study of search-based testing: Local, global, and hybrid search. IEEE Trans. Softw. Engin. To appear.
|
| |
14
|
|
| |
15
|
Jones, B., Sthamer, H., and Eyres, D. 1996. Automatic structural testing using genetic algorithms. Softw. Engin. J. 11, 5, 299--306.
|
| |
16
|
Jones, B., Sthamer, H., Yang, X., and Eyres, D. 1995. The automatic generation of software test data sets using adaptive search techniques. In Proceedings of the 3rd International Conference on Software Quality Management, 435--444.
|
 |
17
|
|
| |
18
|
|
| |
19
|
Korel, B. 1992. Dynamic method for software test data generation. Softw. Test. Verif. Reliabil. 2, 4, 203--213.
|
| |
20
|
|
| |
21
|
Bogdan Korel , Mark Harman , S. Chung , P. Apirukvorapinit , R. Gupta , Q. Zhang, Data Dependence Based Testability Transformation in Automated Test Generation, Proceedings of the 16th IEEE International Symposium on Software Reliability Engineering, p.245-254, November 08-11, 2005
[doi> 10.1109/ISSRE.2005.16]
|
| |
22
|
|
| |
23
|
McMinn, P., Binkley, D., and Harman, M. 2005. Testability transformation for efficient automated test data search in the presence of nesting. In Proceedings of the UK Software Testing Workshop (UKTest'05). University of Sheffield Computer Science tech. rep. CS-05-07, 165--182.
|
| |
24
|
|
| |
25
|
|
| |
26
|
|
| |
27
|
Pargas, R., Harrold, M., and Peck, R. 1999. Test-Data generation using genetic algorithms. Softw. Test. Verif. Reliabil. 9, 4, 263--282.
|
| |
28
|
|
| |
29
|
Tracey, N. 2000. A search-based automated test-data generation framework for safety critical software. Ph.D. thesis, University of York.
|
 |
30
|
|
| |
31
|
Tracey, N., Clark, J., and Mander, K. 1998b. The way forward for unifying dynamic test-case generation: The optimisation-based approach. In Proceedings of the International Workshop on Dependable Computing and Its Applications. 169--180.
|
| |
32
|
|
| |
33
|
|
| |
34
|
Wegener, J., Baresel, A., and Sthamer, H. 2001. Evolutionary test environment for automatic structural testing. Inform. Softw. Technol. 43, 14, 841--854.
|
| |
35
|
Wegener, J., Grimm, K., Grochtmann, M., Sthamer, H., and Jones, B. 1996. Systematic testing of real-time systems. In Proceedings of the 4th European Conference on Software Testing, Analysis and Review (EuroSTAR'96).
|
| |
36
|
|
| |
37
|
Whitley, D. 2001. An overview of evolutionary algorithms: Practical issues and common pitfalls. Inform. Softw. Technol. 43, 14, 817--831.
|
| |
38
|
Xanthakis, S., Ellis, C., Skourlas, C., Le Gall, A., Katsikas, S., and Karapoulios, K. 1992. Application of genetic algorithms to software testing (Application des algorithmes génétiques au test des logiciels). In Proceedings of the 5th International Conference on Software Engineering and its Applications, 625--636.
|
INDEX TERMS
Primary Classification:
D.
Software
D.2
SOFTWARE ENGINEERING
D.2.5
Testing and Debugging
Subjects:
Testing tools (e.g., data generators, coverage testing)
Additional Classification:
I.
Computing Methodologies
I.2
ARTIFICIAL INTELLIGENCE
I.2.8
Problem Solving, Control Methods, and Search
Subjects:
Heuristic methods
General Terms:
Algorithms,
Experimentation,
Measurement,
Performance,
Verification
Keywords:
Evolutionary testing,
search-based software engineering,
test data generation,
testability transformation
|