| Using evolutionary algorithms for the unit testing of object-oriented software |
| Full text |
Pdf
(320 KB)
|
| Source
|
Genetic And Evolutionary Computation Conference
archive
Proceedings of the 2005 conference on Genetic and evolutionary computation
table of contents
Washington DC, USA
SESSION: Search-based software engineering
table of contents
Pages: 1053 - 1060
Year of Publication: 2005
ISBN:1-59593-010-8
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 17, Downloads (12 Months): 136, Citation Count: 6
|
|
|
ABSTRACT
As the paradigm of object orientation becomes more and more important for modern IT development projects, the demand for an automated test case generation to dynamically test object-oriented software increases. While search-based test case generation strategies, such as evolutionary testing, are well researched for procedural software, relatively little research has been done in the area of evolutionary object-oriented software testing.This paper presents an approach with which to apply evolutionary algorithms for the automatic generation of test cases for the white-box testing of object-oriented software. Test cases for testing object-oriented software include test programs which create and manipulate objects in order to achieve a certain test goal. Strategies for the encoding of test cases to evolvable data structures as well as ideas about how the objective functions could allow for a sophisticated evaluation are proposed. It is expected that the ideas herein can be adapted for other unit testing methods as well.The approach has been implemented by a prototype for empirical validation. In experiments with this prototype, evolutionary testing outperformed random testing. Evolutionary algorithms could be successfully applied for the white-box testing of object-oriented software.
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
|
|
 |
2
|
|
| |
3
|
Genetic and Evolutionary Algorithm Toolbox for use with Matlab. http://www.geatbx.com.
|
| |
4
|
S. Kim, J. A. Clark, and J. A. McDermid. Investigating the applicability of traditional test adequacy criteria for object-oriented programs. In Proceedings of the ObjectDays 2000, October 2000.
|
| |
5
|
|
| |
6
|
P. McMinn and M. Holcombe. Hybridizing evolutionary testing with the chaining approach. Genetic and Evolutionary Computation Conference (GECCO), pages 1363--1374, June 2004. June 26-30.
|
| |
7
|
H. Sthamer, J. Wegener, and A. Baresel. Using evolutionary testing to improve efficiency and quality in software testing. In Proceedings of the 2nd Asia-Pacific Conference on Software Testing Analysis and Review (AsiaSTAR), July 2002. 22-24th July.
|
 |
8
|
|
| |
9
|
S. Wappler. Using evolutionary algorithms for the test of object-oriented systems. Master's thesis, Hasso-Plattner-Institute for Software Systems Engineering at University of Potsdam, September 2004.
|
|