Breeding software test cases with genetic algorithms
Authors:
- L. JohnsonLJL. Johnson
- J. PinglikarJPJ. Pinglikar
- A. WatkinsAWA. Watkins
- 1 January 2003
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 10 pp.
Abstract
Faulty software is usually costly and possibly life threatening as software becomes an increasingly critical component in a wide variety of systems. Thorough software testing by both developers and dedicated quality assurance staff is one way to uncover flaws. Automated test generation techniques can be used to augment the process, free of the cognitive biases that have been found in human testers. This paper focuses on breeding software test cases using genetic algorithms as part of a software testing cycle. An evolving fitness function that relies on a fossil record of organisms results in interesting search behaviours, based on the concepts of novelty, proximity, and severity. A case study that uses a simple, but widely studied program is used to illustrate the approach. Several visualization techniques are also introduced to analyze particular fossil records, as well as the overall search process.Keywords
This publication has 10 references indexed in Scilit:
- Evolutionary test environment for automatic structural testingInformation and Software Technology, 2001
- Generating software test data by evolutionIEEE Transactions on Software Engineering, 2001
- Automatic test data generation for path testing using GAsInformation Sciences, 2001
- Test-data generation using genetic algorithmsSoftware Testing, Verification and Reliability, 1999
- Automated program flaw finding using simulated annealing1998
- Genetic Algorithm Based Software Testing1998
- An Introduction to Genetic Algorithms1996
- Testing control software using a genetic algorithmEngineering Applications of Artificial Intelligence, 1995
- Cognitive bias in software engineeringCommunications of the ACM, 1995
- Co-evolving parasites improve simulated evolution as an optimization procedurePhysica D: Nonlinear Phenomena, 1990