Generating efficient test oracles from specifications
- This minor thesis shows a way to optimise a generated oracle to achieve shorter runtimes. Shorter runtimes of test cases allows the execution of more test cases in the same time. The execution of more test cases leads to a higher confidence in the software-quality. Oracles can be derived from specifications. However specifications are used for different purposes and therefore are not necessarily executable. Even if the are executable it might be with only a high runtime. Those two facts come mostly from the use of quantifiers in the logic. If the quantifier-range is not bounded, respectively if the bounds are outside the target language-datatype-limits, the specification is too expressive to be exported into a program. Even if the bounds inside the used datatype-limits, the quantification is represented as a loop which leads to a runtime blowup, especially if quantifiers are nested. This work explains four different possibilities to reduce the execution time of the oracle by manipulating the quantified formular whereas this approach is only applicable if the quantified variables are of type Integer.
Author: | Markus Bender |
---|---|
URN: | urn:nbn:de:kola-4307 |
Advisor: | Bernhard Beckert, Reiner Hähnle, Christoph Gladisch, Philipp Rümmer |
Document Type: | Study Thesis |
Language: | English |
Date of completion: | 2010/08/23 |
Date of publication: | 2010/08/23 |
Publishing institution: | Universität Koblenz-Landau, Campus Koblenz, Universitätsbibliothek |
Granting institution: | Universität Koblenz, Fachbereich 4 |
Release Date: | 2010/08/23 |
Tag: | Oraklegenerierung; Softwaretest; Spezifikation; Testgenerierung Oracle Generation; Softwaretesting; Specification; Test Generation |
Number of pages: | 51 |
Institutes: | Fachbereich 4 / Institut für Informatik |
Dewey Decimal Classification: | 0 Informatik, Informationswissenschaft, allgemeine Werke / 00 Informatik, Wissen, Systeme / 004 Datenverarbeitung; Informatik |
Licence (German): | Es gilt das deutsche Urheberrecht: § 53 UrhG |