Strengthening Inferred Specifications using Search Based Testing
Authors:
- Kamran GhaniKGKamran Ghani
- John A. ClarkJCJohn A. Clark
- 1 January 2008
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 187-194
Abstract
Software specification is an important element of the software development process. However, in most cases the specifications are out-of-date or even missing. One solution for this kind of problem is to use some process that infers the specification automatically. Work by Ernst et al (2000 ; 2002) has shown how specifications can be generated using program execution traces. These approaches are dependent on the test suites used to produce the traces, which may lead to unreliable specifications being inferred. Such specification inference is highly useful, however. In this paper we show how search based testing techniques can challenge and identify erroneous elements of such inferred specifications. This leads to a much tighter (accurate) inferred specifications. Thus, specification inference and search based test data generation are shown to be complementary.Keywords
This publication has 18 references indexed in Scilit:
- Eclat: Automatic Generation and Classification of Test Inputs2005
- ON THE PERFORMANCE OF ESTIMATION OF DISTRIBUTION ALGORITHMS APPLIED TO SOFTWARE TESTINGApplied Artificial Intelligence, 2005
- Efficient incremental algorithms for dynamic detection of likely invariants2004
- A new structural coverage criterion for dynamic detection of program invariants2004
- Improving test suites via operational abstraction2003
- Tracking down software bugs using automatic anomaly detection2002
- Test-data generation using genetic algorithmsSoftware Testing, Verification and Reliability, 1999
- Automatic structural testing using genetic algorithmsSoftware Engineering Journal, 1996
- Automated software test data generationIEEE Transactions on Software Engineering, 1990
- Automatic Generation of Floating-Point Test DataIEEE Transactions on Software Engineering, 1976